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

Write a program that allows the user to input 15 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.

Step by Step Solution

3.38 Rating (151 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

import javaio class average public static void mainString argsthrows IOExcepti... 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 Operating System Questions!