Question: Need help on java on H/W. Thanks Write a program that uses an array to find the Average of 10 double values. Use Math. random()

Need help on java on H/W. Thanks
Write a program that uses an array to find the Average of 10 double values. Use Math. random() in combination with a for loop to fill the array with 10 random values. Then use a different for loop to iterate through the array when summing the total for all 10 double values. Attach Snipping photos of source code and output. If you are comfortable with Arrays, try to implement the same exercise using ArrayList. Note the difference between ArrayList and Array implementation
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
