Question: Write a program that prompts the user to input a student's score ( an integer between 0 and 1 0 0 ) . The program

Write a program that prompts the user to input a student's score (an integer between 0 and 100). The program should then classify the score into one of four grade categories using an enumeration: - EXCELLENT for scores between 80 and 100,- GOOD for scores between 60 and 79,- AVERAGE for scores between 40 and 59,- POOR for scores below 40. If the input score is not within the valid range (0100), the program should classify it as INVALID_SCORE. Use a namespace called GradeSystem to store the enumeration and the function grade_category() The function should take the user's input score, classify it, and print the corresponding grade category in a user-friendlymessageWrite a program that prompts the user to input a student's score (an integer between 0 and 100). The program should then classify the score into one of four grade categories using an enumeration: - EXCELLENT for scores between 80 and 100,- GOOD for scores between 60 and 79,- AVERAGE for scores between 40 and 59,- POOR for scores below 40. If the input score is not within the valid range (0100), the program should classify it as INVALID_SCORE. Use a namespace called GradeSystem to store the enumeration and the function grade_category() The function should take the user's input score, classify it, and print the corresponding grade category in a user-friendlymessage

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