Create a loop structure to display and calculate the


Question: In mathematics the notation n! shows the factorial of the nonnegative integer n. The factorial of a number is the product of all the nonnegative integers from 1 up through the number provided.

For case:

4! = 4 x 3 x 2 x 1 = 24

7! = 7 x 6 x 5 x 4 x 3 x 2 x 1 = 5,040

Create a loop structure to display and calculate the factorial of the larger number provided by the user.

What if these were test scores? Calculate the average of the two numbers provided.

Determine the letter grade associated with the average (A = 90-100, B = 80-89, etc).

Display a message to the user informing them of the letter grade they would have earned if the values provided were test scores. Provide the code of factorial function.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Create a loop structure to display and calculate the
Reference No:- TGS0953319

Expected delivery within 24 Hours