Computer Science, asked by Ksh22, 4 months ago

What will be the range of values generated by :
Math.random()*1000?

Answers

Answered by ad8813496
0

Explanation:

The Math.random() function returns a floating-point, pseudo-random number in the range 0 to less than 1 (inclusive of 0, but not 1) with approximately uniform distribution over that range — which you can then scale to your desired range. The implementation selects the initial seed to the random number generation algorithm; it cannot be chosen or reset by the user.

Similar questions
Math, 10 months ago