lol and do we get the credit as well?
If you have no idea about C then why do you think you should get anything but zero marks for the assignments?
Us doing your homework for you benefits you not one bit. You don't learn anything, and worse still the teacher doesn't realise you're in difficulties. So best start working hard if you want to get some points for this assignment. We'll help you get unstuck, but writing this program is YOUR job, not ours. If you're not interested, then you should talk to the teacher about dropping out of the course.