I am trying to build a multiplication table and display the results, but need to put the x in the top left corner, for some reason it is showing up on the bottom right, what am I doing wrong? Answer “What am I doing wrong?” A lot. You should think about what you are trying to do first, before going
Tag: multiplication
How to multiply elements of an array by elements from another array with the same index?
I am trying to write an JS algorithm in which I have two arrays. The value of the first one will have different numerical values. The second array will be constant, say for example [5, 3, 6, 8]. Now I would like to multiply the values from the first array, by the corresponding index value from the second array, so
trouble multiplying in JavaScript
So what I am trying to do here in JavaScript is find out is i want to order more candy or not. So far I compare the in Stock to the weekly average and if in Stock is < weekly average I will order 2 times the weekly Average. However, if the is greater than in Stock then i will