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
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments
Leave a comment