Menu

Java Programming Requirements Java Class Name Lettergrades Write Java Program Ask User Ent Q43896781

JAVA Programming Requirements,

Java class name =LetterGrades

  1. Write a java program.
  2. Ask user to enter the numeric grade.
    1. This input can be a decimal value.
  3. Accept “-1” which means the program will end the loop.
  4. Validate the grade is between 0 and 100.
    1. If invalid, display error message and ask for anothervalue.
    2. If numeric grade is valid,
      1. 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).
      2. Print out the grade letter in a appropriate message.
  5. Loop and test another numerical grade until -1 is entered.

Expert Answer


Answer to JAVA Programming Requirements, Java class name = LetterGrades Write a java program. Ask user to enter the numeric grade….

OR