Why is my multiply random number function not working please | SoloLearn: Learn to code for FREE!

0

Why is my multiply random number function not working please

solved thanks

5/10/2017 10:54:01 AM

AceDev

2 Answers

New Answer

+6

If you read the error message, you will find the error... Replace: var one = Math.floor+1(Math.random()*10); var two = Math.floor+1(Math.random()*10); ... by: var one = 1+Math.floor(Math.random()*10); var two = 1+Math.floor(Math.random()*10);

+3

You have edited the description of your question by replacing it with << solved thanks >>... but: > better way to edit the title of the question by adding ( not replacing ) the "solved" information to it, eventually put it as tag also > let the original description for future readers comprehension of the thread > thanks by upvoting appreciated answers, attributing "best answer" to the most useful one... and post to say thanks, but almost to say if answer was helpful ( edition of question doesn't throw notification to followers of the thread ) as much as when they doesn't ( the last time you've answered back was for telling that the solution provided wasn't working :P )