Modify the total program so that it shows the average, not the total of the inputs.
a) Adjust the summing function
b) Introduce a division operation
c) Use a different data structure
d) Implement a loop