So far you have learnt about the basic data types,
expressions and statements. In the previous chapter, you have learnt the
use of iteration statements to perform repetitive tasks like summing
first n natural numbers, etc. Consider a problem to find the average of
marks secured by five students in a course. A piece of code written for
it is given in Program 1.