Question: Test Average and Grade C + + Write a program that asks the user to enter five test scores. The program should display a letter

Test Average and Grade C++
Write a program that asks the user to enter five test scores. The program should display a letter grade for each score as they are entered, and the average of all test scores at the end. Design the following functions in the program:
calcAverage-- This function should accept five test 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 (as a string), based on the following grading scale:
A:90-100B:80-89C:70-79D:60-69F:0-59

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!