Total and Average

WHERE DID THE DESIGN GO?

This website is not broken, the owner of it has decided to participate in Naked CSS Day 2025!

Naked CSS Day is a event that is held once per year (April 9th) to celebrate good & well planned design. The website will be back to its normal state tomorrow.

100 points

Total and Average

Requirements

All required prompts and inputs are preformed correctly10
Calculation for total is correct20
Calculation for average is correct30
Total and average are displayed correctly20
Most appropriate datatype is used for all variables20
Total100 pts

Resources

Objective

To work with integer and floating point types

Instructions

For this lab you will need to write a C program that will prompt for and allow the user to enter 10 integer numbers. Your program is not responsible for the user entering anything other than integers.

Once the required input has been complete your program should then calculate the total and the average of all of the numbers that were entered.

The final step is for the program to display the total and average that were calculated. The average should be displayed to 2 decimal points.