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.
cscgal
The Queen of DaniWeb
19,421 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 229