problem 5, C