I'm stuck in the first step of creating a random number and making it a whole number,help me out please


#1


Replace this line with your code.


#2
Math.floor(Math.random())

is where it all starts. The rest is self-evident.


#3

thank you for the reply,I figured it out,it was a dumb mistake.I tried to use the Math.floor() function when I wasn't asked to.


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.