- Exercise 8
- Create program that asks user to give five(5) numbers and then
calculates average for given numbers.
- After this program asks one(1) new number everytime and calculates again
the average for last five(5) given numbers and shows it.
In short, program replaces the first given number (the oldest) from table
with the new one.
- Make the the calculation of average into a independent method
(function). Do same to the addition of new number into table.
- Back