console.log(Math.floor(Math.random() * 100));
The instruction is
- Inside of a console.log, create a random number with Math.random, then multiply it by 100.
I did it well until here, with this:
console.log(Math.random() * 100);
I don’t know how should I do with this instruction:
- Now, utilize Math.floor to make the output a whole number.
Inside the console.log you wrote in the last step, put Math.random() * 100 inside the parentheses of Math.floor.
There’s always an error when I try it.
I am totally stuck on this part.
Can you help me, please?