Add Problem 2 in C.