Question: Write a C++ program which will prompt a user to enter a test score, which may be a floating point number. It should print out

Write a C++ program which will prompt a user to enter a test score, which may be a floating point number. It should print out the following outputs, depending on the user input:

[18 Points]

Output Input Range

"Invalid score" <0

"Invalid input" non-numeric value

F 0 <= input < 60

D 60<= input < 70

C 70<= input < 80

B 80<= input < 90

A 90<= input <100

A+ 100

The screen dialog should look something like (where user input is shown in underlined italics):

Test Grading Program.

Enter a numeric score: 50.5

The grade for a 50.5 is F.

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!