(Solved):
1. asks the user to enter five test scores. 2. accepts grades that are grea ...
???????
1. asks the user to enter five test scores. 2. accepts grades that are greater than zero and less or equal to 100. 3. displays a letter grade for each score and the average test score. Check the sample run for clarification. Your program must have the following functions: - getScore. This function should prompt the user to enter one score and return the score after it validates it. Notice that this function is called 5 times in main. - calcAverage. This function should accept five test scores as arguments and return the average of the scores. - determineGrade. This function should accept a test score as an argument and return a letter grade for the score based on the following grading scale: 90-100 A, 80-89 B, 70-79 C, 60-69 D, Below 60 F. Notice you need if elif else statements in this function. - main. This function should call the other three functions and print out the output. Sample run: Enter score: 60 Enter score: 95 Enter score: 300 Enter a valid score: 87 Enter score: 75
score numeric grade letter grade score 1 : 60.0 D score 2: 95.0 A score 3: 87.0 B score 4: 75.0C score 5: 99.0 A Average score: 83.2 B