Solved

What Does the Following Statement Do

Question 9

Multiple Choice

What does the following statement do
Math.floor( Math.random() * 12 ) ;


A) This creates a random number from 0 up to and including 12.
B) This creates a random number from 0 up to but not including 12.
C) This creates a random number from 1 up to and including 12.
D) This creates a random number from 1 up to but not including 12.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions