Completed printAverage