Question: Write a C program that assigns test score grades. The program's input should be a series of test scores of type int. Have the program

Write a C program that assigns test score grades. The program's input should be a series of test scores of type int. Have the program read each score and print either the corresponding grade or an appropriate error message. The program is to continue until end-of-file. Assume the following grading scale: 9 - 10 A 8 B 7 C 6 D 0 - 5 F Use a switch statement to assign or print the appropriate grade.

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!