Adding solution for problem 69 in c.