As you can see Your original post does not get much response.
What you need to do is state what the program should do and the code that you have started with, even if it is wrong, and point out what part(s) of the code are a problem.
If you just have no idea where to start it is best not to tie up the public forum. Send me a private message, click on the name in the upper left of this box, and I will do what I can.