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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!