All code by me It will continuously ask you for an integer. To have it average all the numbers you've entered, type done in all lower-case.