Question: Write a program that allows the user to input 20 grades that range from 0 - 100. If the user inputs a number larger than

Write a program that allows the user to input 20 grades that range from 0 - 100. If the user inputs a number larger than 100 or small than 0, then the program should tell the user that they entered an invalid number and ask for a correct value. The values should be entered into an array. An average of the array should be taken and then printed. The user should be asked if they want to Average another set of grades. Rubric: The program should should call four methods: - 40 points that displays all the integers that calculates the average that displays all grades less than 80 that display the highest and lowest grades entered The program should use a while loop - 10 points The program should use at least two conditional statements - 10 points The program should input the grades from the user. 

Algorithm and Pseudocode included 

Code should be in java.

Step by Step Solution

3.45 Rating (158 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

InputTwentyGradesjava import javautilScanner public class InputTwentyGrades Scanner scnew ScannerSystemin int c int gradesArrnew int20 void start Syst... View full answer

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 Programming Questions!