Design a solution that requests and receives student names and an exam score for each.
The program should continue to accept names and scores until the user inputs a student whose name is “alldone”.
***After the inputs are complete determine which student has the highest score and display that student’s name and score.
1 answer
You have been asked to design a program that will allow a teacher to calculate the percentage and the final grade for students in a class. The program will prompt the teacher to enter the student’s first and last name and the number of points the student received. The program will only accept scores between 0 and 1,000 points (including 0 and 1,000), with 1,000 points being the maximum number of points. If the input value within the valid range, the program will display a “good score” message; otherwise, the program will display an error message and then terminate the program. The program will then calculate the score percentage and then determine the grade based on the percentage using the following grade criteria.