Write a program that will prompt the user to enter a student’s name followed by five test scores. The program should continually loop until the student’s name is null. The program should not terminate until at least 1 student name has been entered. The program should display a letter grade for each score and the average test score for each student entered. Write the following functions in the program: main – This is the main function which calls all the functions and displays the output. calc_average – This function should accept five test scores as arguments and return the average of the scores. determine_grade – This function should accept a test score as an argument and return a letter grade for the sore based upon the following scale: 90-100: A 80-89: B 70-79: C 60-69: D Below 60: F Write this without break function or global variables
Write a
scores. The program should continually loop until the student’s name is null. The program
should not terminate until at least 1 student name has been entered. The program should
display a letter grade for each score and the average test score for each student entered.
Write the following functions in the program:
main – This is the main function which calls all the functions and displays the output.
calc_average – This function should accept five test scores as arguments and return the
average of the scores.
determine_grade – This function should accept a test score as an argument and return a letter
grade for the sore based upon the following scale:
90-100: A 80-89: B 70-79: C 60-69: D Below 60: F
Write this without break function or global variables.
output-


Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 2 images









