C Programin Homework