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 and The program should then classify the score into one of four grade categories using an enumeration: EXCELLENT for scores between and GOOD for scores between and AVERAGE for scores between and POOR for scores below If the input score is not within the valid range the program should classify it as INVALIDSCORE. Use a namespace called GradeSystem to store the enumeration and the function gradecategory The function should take the user's input score, classify it and print the corresponding grade category in a userfriendlymessageWrite a program that prompts the user to input a student's score an integer between and The program should then classify the score into one of four grade categories using an enumeration: EXCELLENT for scores between and GOOD for scores between and AVERAGE for scores between and POOR for scores below If the input score is not within the valid range the program should classify it as INVALIDSCORE. Use a namespace called GradeSystem to store the enumeration and the function gradecategory The function should take the user's input score, classify it and print the corresponding grade category in a userfriendlymessage
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
