Page 1 of 1

Objective In this homework assignment, we're going to practice our programming skills on method and array. More specific

Posted: Mon May 09, 2022 6:26 am
by answerhappygod
Objective In This Homework Assignment We Re Going To Practice Our Programming Skills On Method And Array More Specific 1
Objective In This Homework Assignment We Re Going To Practice Our Programming Skills On Method And Array More Specific 1 (79.95 KiB) Viewed 16 times
Objective In this homework assignment, we're going to practice our programming skills on method and array. More specifically, we need to develop one program to conduct statistics on the test scores from a group of students. Requirements The requirements of your program are as follows: • The score input part shall be implemented in one method with the following signature: public static int[] readScores (Scanner input, int numStudent) The above signature implies that you need to create and return one array from this method. • There are three methods to figure out the maximum, minimum, and average score among the students with the following signatures: public static int findMaximumScore(int[] scores) public static int findMinimumScore(int[] scores) public static double findAverageScore(int[] scores) In Java, the array length can be obtained by scores.length and the number of students doesn't need to be passed to these methods. • Develop one method that counts the number students in grade A/B/C/F with the following signature public static int[] getGradeCount(int[] scores) The grade scale is: o A is 90 over above o B is at least 80 and below 90 o C is at least 70 and below 80 o F is below 70 • The program shall display these statistics at the end. Submit: • Your program on score statistics.