This project seems to have been given to millions of students over the last few years.
Just do a bit of googling and you will find replies to the hundreds of other students who asked the same question.
It might be a good idea to tell us EXACTLY which C compiler you will be using and to supply the circuit diagram of the hardware that you will be using.
Start by writing a simple "LED flash" program to prove that you can compile, program and make a simple project work, then move on to more and more complex programs as you learn.
First you need to show us your schematic (as you cannot write code if you do not know what hardware the code will be used on).
Then show us your "LED flash" program once you have written it. There is no point helping you with a complex project until you prove that you can handle a simple project.