Computer Science, asked by Nanditasri1680, 4 months ago


Write a program to generate and print a number using Math.random().​

Answers

Answered by mahek77777
2

random() returns a double value with a positive sign, greater than or equal to 0.0 and less than 1.0. This new pseudorandom-number generator is used thereafter for all calls to this method and is used nowhere else.

Similar questions