Simple program used to calculate the average of several inputs, From "Java How To Program, 10/e, Early Objects" - Chapter 4