Question: In java, Your program should prompt the user for a grade and then check if the entered grade is in a correct range before using
In java, Your program should prompt the user for a grade and then check if the entered grade is in a correct range before using it for computation. If the entered grade is less than 0 or greater than 100, inform the user that the grade is incorrect and repeat the loop without checking if they want to enter another number.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
