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:
calcaverage. This function should accept eight tes 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:
tableScoretableLetterGradeA AABBBCC
tableInput:Expected,Codeoutput:,StructuresEnter score :Needed:fstringfunctionsEnter score :voidfunctionsEnter score :returnmainEnter score :functionEnter score :Enter score :
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
