Create a method to read the scores and return the scores in


This problem is to develop a simple application to compute the statistics of homework grades. The application should prompt the user to enter the total number of the scores of an assignment, and prompt the user to enter all of the scores.After reading in all those scores, the application should product the following statistics about the assignment.
The average score
The highest score
The lowest score
Here is a sample run:
Enter the number of scores: 5
Enter 5 scores: 67.50 94.80 88.50 76.90 99.00
The average score is 85.34
The highest score is 99.00
The lowest score is 67.50
Assignment Requirements
The following specific requirements must be met:
Create a method to read the scores and return the scores in a one dimensional array to the caller.
Create a method to calculate the average score of those scores passed into the method in a one dimensional array parameter and return the calculated average score to the caller.
Create a method to determine the highest score among those scores passed into the method in a one dimensional array parameter and return the highest score to the caller.
Create a method to determine the lowest score among those scores passed into the method in a one dimensional array parameter and return the lowest score to the caller.
The main method of the program must receive user input, call methods to obtain the required data, and finally display information to the user.
You should choose descriptive names for those methods and follow Java naming convention.
Each method must perform appropriate data validation on the parameters passed to the method if any.
You may choose to use either the console or the Java dialog boxes for data input and output.
If the number of scores is zero or a negative score is entered, your program should report the error and terminate the execution.

Solution Preview :

Prepared by a verified Expert
JAVA Programming: Create a method to read the scores and return the scores in
Reference No:- TGS02383516

Now Priced at $20 (50% Discount)

Recommended (94%)

Rated (4.6/5)