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:
Related Book For
C# Programming From Problem Analysis To Program Design
ISBN: 9781285856872
5th Edition
Authors: Barbara Doyle
Question Posted: