Write a program that computes the average of five exam scores. Declare and perform a compile-time initialization

Question:

Write a program that computes the average of five exam scores. Declare and perform a compile-time initialization with the five exam values.

Declare integer memory locations for the exam values. Use an integer constant to define the number of scores. Print all scores. The average value should be formatted with two digits to the right of the decimal.

Rerun the application with different values. Be sure to desk check your results.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: