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 values. Use a constant to define the number of scores. Print all scores and the average value formatted with no digits to the right of the decimal. Rerun the application with different values.
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: 9781285096261
4th Edition
Authors: Barbara Doyle
Question Posted: