I've writiten a program that asks a user to enter X number of users, it then asks the user to enter points and totals up the points. The cycle then runs again, dependent on the value of X.
However I would like to obtain an overall average of the x number of users total points. But I'm not really sure how to go about doing this?
Because the total points variable changes each time the loop starts again?