Write a program that prompts the user to enter a letter grade A, B, C, D, or

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, 3, 2, 1, or 0. For other input, display invalid grade. Here is a sample run:
Enter a letter grade: B
The numeric value for grade B is 3
Enter a letter grade: T
T is an invalid grade

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: