# Average Marks

**Computer Science**Level 3

Average of marks stored in an array, say Marks[5]=[1,2,3,4,5], can be calculated by just adding up all the values and then dividing the sum by the total number of values. (e-g: \( avg=\frac{1+2+3+4+5}{5}=\frac{15}{5}=3 \)).

You are required to write a program that calculates the average of any *n numbers*. What is the *average* of marks stored in Marks

**Be careful:**

Average may be any real number, say 12.01 or 20.5 or 18.91.

You are required a rounded-off figure, say 12 or 20 or 19.

**Your answer seems reasonable.**Find out if you're right!

**That seems reasonable.**Find out if you're right!

Already have an account? Log in here.