Question: Write a method that accepts a 1D array of 20 scores as a parameter. Your method must determine the average score and then find out
Write a method that accepts a 1D array of 20 scores as a parameter. Your method must determine the average score and then find out how many scores are above or equal to the average and how many scores are below the average. All the calculations and displaying of output must be done inside the method.
Example Output:
Average is 77
15 scores were above or equal to 77
5 scores were below 77
Java Language
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
