Simple Statistics

The basic program we used to calculating the mean (average) of a series of numbers entered by a user.

Writing loops equivalent to math summation

$$\sum_{i=0}^{N-1} s_i$$