Quiz - Problem 6 Code