Question: In Java code please Complete hands-on projects 1 to 3 in chapter 10. There are 3 versions of the ArrayProgram. All 3 versions of this

In Java code please
Complete hands-on projects 1 to 3 in chapter 10. There are 3 versions of the ArrayProgram. All 3 versions of this program, calculate the sum, average, largest, and smallest elements of an array. Pick the one that you like best. Add logic inside the for loop to test if the number is between 90 and 100 If the number is in this range, then it should add 1 to the tally of gradeA. You should have another test to see if the number is between 80 and 89 and if it is it should add 1 to the tally of gradeB. You should continue to have tests for 70 to79 being gradeC; 60-69 being graded; and below 60 as being gradeF. After the for loop is done, you should display a list of how many students had A's, B's, etc in the output message box. If the data is: 90 100 80 85 63 73 80 92 90 The display should be something like this The sum is 753 The average is 83 The largest test score is 1 The lowest test score is 63 The number of students with scores of 90-100 (A) is 4 The number of students with scores of 80-89 (B) is 3 The number of students with scores of 70-79 (C) is 1 The number of students with scores of 60-69 (D) is 1 The number of students with scores below 60 (F) is 0 Rubric * Set the variables of gradeA, gradeB, gradeC, gradeD, and gradeF to zero at beginning of program. (2 points) . Set up the 5 if statements appropriately to count the gradeA, gradeB, gradeC, gradeD, and gradeF variables (5 points) .Print the counts for each grade in a message box. (3 points)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
