Question: Write a program that asks the user to enter eight test scores. The program should display a letter grade for each score and the average

Write a program that asks the user to enter eight test scores. The program should display a letter grade for each score and the average test score in a table format.
Write the following functions in the program:
calc_average. This function should accept eight tes 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 score based on the following grading scale:
\table[[Score,\table[[Letter],[Grade]]],[98-,A +],[100,],[9298,A],[9092,A-],[8880,B+],[8288,B],[8082,B-],[7880,C+],[7278,C]]
\table[[Input:,Expected,Code],[60,output:,Structures],[70,Enter score 1:,Needed:],[80,,f-string],[functions,,],[90,Enter score 2:,(void)],[100,,functions],[65,Enter score 3:,(return)],[75,,main],[85,Enter score 4:,(function)],[,Enter score 5:,],[,Enter score 6:,]]
Write a program that asks the user to enter eight

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!