help me, using C

This looks like a homework assignment. It’s better that you learn how to program on your own. If you have a specific question, folks are more likely to be willing to help you. In such case, you need to show us your code and describe the problem. 

2 Likes