I'm afraid that's not how CodeRanch works. We are
NotACodeMill (<-- click) and we will not do your work for you.
If you have made a start, or have at least thought about how you might achieve your goal, then show us what you've done so far and tell us what particular part you are stuck on. That's the best way to get help.