Question: Write a program that prompts the user to enter a letter grade A, B, C, D, or F and displays its corresponding numeric value 4,
Write a program that prompts the user to enter a letter grade A, B, C, D, or F and displays its corresponding numeric value 4, 3, 2, 1, or 0. Here is a sample run:

Enter a letter grade: B The numeric value for grade B is 3 JEnter Enter a letter grade: T -FEnter T is an invalid grade
Step by Step Solution
3.44 Rating (170 Votes )
There are 3 Steps involved in it
Program plan Create the class Lettergrade Define the main method Prompt the user to enter the grade ... View full answer
Get step-by-step solutions from verified subject matter experts
