Computer Science, asked by ilavarasi4420, 10 months ago

What are the steps to generate a random floating number between range lower to upper using random()

Answers

Answered by gaurav55538
1

Answer:

hope you understand

Explanation:

Answer:

1. first ask for the minimum and maximum values of the range...

2. then define the range as

range = maximum - minimum + 1

3. then use this formula

randomnum = Math.random()*range

Similar questions