problem_6 C