Question: > Task: Write a C + + program that reads student scores from the keyboard until a negative score is entered. Use a switch statement

> Task: Write a C++ program that reads student scores from the keyboard until a negative score is entered. Use a switch statement to determine the grade based on the score and display the result. Use continue to skip invalid scores (scores not in the range 0-100).
> Requirements:
1.Continuously read scores from the user until a negative score is entered.
2.Use continue to skip invalid scores (less than 0 or greater than 100).
3.Use a switch statement to assign a grade (A, B, C, D, F) based on the score range.
4.Use break to exit the loop when a negative score is entered.
 > Task: Write a C++ program that reads student scores from

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!