Question: Problem 2: 115 marks] Count numbers above average (filename: CountNumbersAboveAve.java) Write a program that first randomly generates and displays 10 whole numbers between 0 and
![Problem 2: 115 marks] Count numbers above average (filename: CountNumbersAboveAve.java) Write](https://s3.amazonaws.com/si.experts.images/answers/2024/09/66dc7c8139da1_82466dc7c80ab078.jpg)
Problem 2: 115 marks] Count numbers above average (filename: CountNumbersAboveAve.java) Write a program that first randomly generates and displays 10 whole numbers between 0 and 100, saves them into an output file, and calculates the average. The program then reads the saved numbers back from the file one by one and counts how many of them are above the average. A sample run is given below The 10 random numbers are: 44 61 98 45 45 17 63 24 9 95 The average is 50.10 and there are 4 numbers above the average
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
