Before you enter the series you are to have the program ask


A series of marks is to be entered and averaged. Before you enter the series, you are to have the program ask the user how many marks there are. After the last mark is entered, show the average of the inputted marks, rounded to 1 decimal point. Test your program to ensure that it works for series of different lengths, say four marks or six marks. Verify average that you get with your program with a calculator. Your output should look like:

How many marks will you be entering? 4

Enter a mark #1. 57

Enter a mark #2. 99

Enter a mark #3. 72

Enter a mark #4. 37

Your average mark of the 4 is 63.3 percent

 

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: Before you enter the series you are to have the program ask
Reference No:- TGS01207010

Now Priced at $10 (50% Discount)

Recommended (98%)

Rated (4.3/5)