Question: The Javascript function Math.random() returns a floating point number between 0 and 1. Write an algorithm (NOTE: not CODEI) that uses this function to
The Javascript function Math.random() returns a floating point number between 0 and 1. Write an algorithm (NOTE: not CODEI) that uses this function to generate a random number between two numbers A and B, where A must be less than B.
Step by Step Solution
3.57 Rating (150 Votes )
There are 3 Steps involved in it
Print Enter M... View full answer
Get step-by-step solutions from verified subject matter experts
