Solved problem one in c