Question: Develop a C++ program that reads a number from 0 to 100 a shows on the standard output the corresponding grade according to the grading

Develop a C++ program that reads a number from 0 to 100 a shows on the standard output the corresponding grade according to the grading scale specified below. If the input is not in the interval [0, 100) the output of the program will show the warning; "Test scores must be in the interval [0, 100)". 

Grading Scale 

90-100%A 

80-89%B 

70-79%C 

60-69%D 

0-59% F 

Concepts in practice: Concatenation of if-else statements.

Step by Step Solution

3.49 Rating (149 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To develop a C program that reads a number from 0 to 100 and displays the corresponding grade accord... View full answer

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 Programming Questions!