Why are you unable to copy and paste the code? Simply highlight all of your code, and do Ctrl+C (if on Windows). And then Ctrl+V to paste it in here. We aren't going to write your program from scratch for you unless we see some effort on your part ... some code, algorithm, or even a specific line you're having a problem with.
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
Offline 13,645 posts
since Feb 2002