Question: Design and implement a program (name it GradeReport) that uses a switch statement to print out a message that reflect the student grade on a
Design and implement a program (name it GradeReport) that uses a switch statement to print out a message that reflect the student grade on a test. The messages are as follows:
For a grade of 100 or higher, the message is ("That grade is a perfect score. Well done.")
For a grade 90 to 99, the message is ("That grade is well above average. Excellent work.")
For a grade 80 to 89, the message is ("That grade is above average. Nice job.")
For a grade 70 to 79, the message is ("That grade is average work.")
For a grade 60 to 69, the message is ("That grade is not good, you should seek help!)
For a grade below 60, the message is ("That grade is not passing.)
Organized your output following these sample runs.
Sample run 1:
You entered 100
That grade is a perfect score. Well done.
Sample run 2:
You entered 75
That grade is average.
Sample run 3:
You entered 55
That grade is not passing.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
