Question: Using the switch statement, write a program that converts a letter grade into its numerical equivalent. The program should ask the user for a letter
Using the switch statement, write a program that converts a letter grade into its numerical equivalent. The program should ask the user for a letter grade, convert it to uppercase then display the corresponding quality point. If the user types any other letter display an error message. Use the grading system below:
| Grade | Quality Point |
| A | 4.0 |
| B | 3.0 |
| C | 2.0 |
| D | 1.0 |
| F | 0.0 |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
