Question: Question 1: A program that asks the user to enter five test scores. The program should display a letter grade for each score and the

Question 1: A program that asks the user to enter five test scores. The program should display a letter grade for each score and the average test score. Design the following functions in the program:

calcAverageThis function should accept five test scores as arguments and return the average of the scores.

determineGradeThis 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:

Score Letter Grade

90-100 A

80-89 B

70-79 C

60-69 D

Below 60 F

Question 2:

In mathematics, the notation n! represents the factorial of the nonnegative integer n. The factorial of n is the product of all the nonnegative integers from 1 up through n. For example:

7!=1234567=5,040

and

4!=1234=24

Question 3: A program that asks the user to enter a nonnegative integer and then displays the factorial of that number.

Note: I need to A code with the output in C++ programming language.

Note: I have asked to have the code in black background.

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!