Question: Write a program that reads a number of scores into an array and determines how many scores are above or equal to the average. Assume

Write a program that reads a number of scores into an array and determines how many
scores are above or equal to the average. Assume that the maximum number of scores is
100 and that each score is a double value.
Write a method that returns a double array using user's inputs from the console
window. The method should have the following header. The formal parameter size is
the size of the return array.
public static double[] inputScores (int size)
Your input should be through the console.
Write a method that return the number of scores above or equal to the average.
public static int highScoreCount (double[] scores)
Your program should contain the "main" method that invokes the inputScores
and highScoreCount methods. The number of scores above or equal to the
average should be displayed in the console window as the output of this program.
Grading: This lab is worth 100 points.
Submission:
When you have finished your assignment, you will upload (submit) it to Gradescope. I
remind you that if you do not submit the assignment before the due date, you will not be
able to submit it.
Complete the assignment and name it Lab7.
Return to the Gradescope to submit the .java file for this assignment.
Browse for the Lab7.java file that you have on your computer and select them so
that they upload to the assignment area.
Click "Upload". For this assignment, please name your class file as "Lab7"
Finally, your code should look exactly like the output mentioned below and should be
able to run test cases.
Please enter 5 scores in the array you want to make:
Please enter a score
78
Please enter a score
54
Please enter a score
34
Please enter a score
87
Please enter a score
34
The number of scores above average is: 2
--EXACT OUTPUT PLEASE
 Write a program that reads a number of scores into an

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!