Question: Dashboard Announcements Assignments Grades Modules Pear Deck Writing Lab Brainfuse Online Tutoring Follett Discover Chapter Programming Exercises Exercise: 0 4 - Test Average and Grade

Dashboard
Announcements
Assignments
Grades
Modules
Pear Deck Writing Lab
Brainfuse Online Tutoring
Follett Discover
Chapter Programming Exercises
Exercise: 04- Test Average and Grade
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 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 score based on the following grading scale:
\table[[Score,Letter Grade,],[98-100,At,],[9298,A,],[9092,A-,],[8880,B+,],[8288,B,],[8082,B-,],[7880,C+,],[7278,C,],[7072,C-,],[6870,D+,],[6268,D,],[6062,D-,],[Below 60,F,]]
\table[[Input:,Expected output:],[60,Enter score 1:],[70,Enter score 2:],[80,Enter score 3:],[0,Enter score 4:],[100,Enter score 5:],[5,Enter score 6:],[5,Enter score 7:],[85,Enter score 8:]]
 Dashboard Announcements Assignments Grades Modules Pear Deck Writing Lab Brainfuse Online

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 Databases Questions!