Question: Working with arrays Write a program that reads a number of scores into an array and determines how many scores are above or equal to

 Working with arrays Write a program that reads a number of

Working with arrays 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. 1. public static double[ inputScores (int size) Your input should be through the console. 2. 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. 3. Please note: You must finish this work by the end of the lab period. If you do not finish, please just submit what you have at the end of the lab. Submission: Submit in folio your source code using the dropbox folder Lab 12

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!