Question: JAVA Programming Requirements, Java class name = LetterGrades Write a java program. Ask user to enter the numeric grade. This input can be a decimal
JAVA Programming Requirements,
Java class name = LetterGrades
- Write a java program.
- Ask user to enter the numeric grade.
- This input can be a decimal value.
- Accept -1 which means the program will end the loop.
- Validate the grade is between 0 and 100.
- If invalid, display error message and ask for another value.
- If numeric grade is valid,
- Test to see if the grade letter is A (100-90), B (89.99-80), C (79.99-70), D (69.99-60), F (59.99-0).
- Print out the grade letter in a appropriate message.
- Loop and test another numerical grade until -1 is entered.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
