Finish the AverageNumber.cpp