Solved

Which of the Following Generates a Random Number Between 0

Question 30

Multiple Choice

Which of the following generates a random number between 0 and 1?


A) var randomNum = Math.random() ;
Document.write(randomNum) ;

B) var randomNum = Calculate.random() ;
Document.write(randomNum) ;

C) var randomNum = Number.random() ;
Document.write(randomNum) ;

D) var randomNum = Math.randomNumber() ;
Document.write(randomNum) ;

Correct Answer:

verifed

Verified

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

Related Questions