Write a program that takes an integer command-line argument n, uses Math.random() to print n uniform random values between 0 and 1, and then prints their average value (see EXERCISE 1.2.30).
EXERCISE 1.2.30
Uniform random numbers. Write a program that prints five uniform random numbers between 0 and 1, their average value, and their minimum and maximum values. Use Math.random(), Math.min(), and Math.max().
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.