Update Intro to c# - Problem 9