Write a program that allows the user to input 20 grades that range from 0 - 100.
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 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.
Introduction to Java Programming, Comprehensive Version
ISBN: 978-0133761313
10th Edition
Authors: Y. Daniel Liang