Where are you having a problem?
Make a list of the specific, detailed steps the program must do.
Start at the first item in the list.
Design and write the code for it, compile it, fix the errors,...