Quote:
I have know idea on what to do or how to start it please help
NO! You try to make us believe that you never had a single course about C programming and that the teacher just trowed a random homework unrelated to any course you have done so far.
Quote:
how to start
You start to write this C program exactly like any C program you ever seen or written.
This requirement is 1 of the most simple you will ever see. read carefully and start to work, it really not complicated.
We do not do your HomeWork.
HomeWork is not set to test your skills at begging other people to do your work, it is set to make you think and to help your teacher to check your understanding of the courses you have taken and also the problems you have at applying them.
Any failure of you will help your teacher spot your weaknesses and set remedial actions.
Any failure of you will help you to learn what works and what don't, it is called 'trial and error' learning.
So, give it a try, reread your lessons and start working. If you are stuck on a specific problem, show your code and explain this exact problem, we might help.