Question: can you please code in assign variable and easy codes: Write a program that asks the user to enter 4 test scores. The program should

can you please code in assign variable and easy codes:
Write a program that asks the user to enter 4 test scores. The program should display a letter grade for each score and the average test score.
Write the following functions in your program:
main(): This is where your program input, output, and functions calls to calc_average and determine_grade will reside.
calc_average: This function should accept 4 test scores as arguments and RETURN the average of the scores.
determine_grade: This should should accept a test score as an argument and RETURN a letter grade for the score based on the following grading scale:
SCORELETTER GRADE90-100A80-89B70-79C60-69DBelow 60F
An example of a running program's output can resemble the following:
Welcome to the Grade and Average Calculator.
Please enter Test Score #1: 66
Please enter Test Score #2: 77
Please enter Test Score #3: 88
Please enter Test Score #4: 95
Test Score #1 receives a letter grade of D.
Test Score #2 receives a letter grade of C.
Test Score #3 receives a letter grade of B.
Test Score #4 receives a letter grade of A.
Your overall test average is: 81.5

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!