You know whats funny, I have posted a few times here for homework help here on the forums and have had nothing but great help. I think the problem people run unto is when they try to trick you guys.
here is a hint for all the people out there trying to get help with homework.
1. Explain the problem in detal
2. Be upfront "I have an assignment and here is the problem"
3. Post the code that you are working on
4. Do NOT reply to bump your thread every hour. If there is someone that can help and wants to they will. Bump after a day or so if you need to.
5. Keep working on it.
Also read this link supplied at the top of the page
http://www.daniweb.com/forums/announcement8-2.html
As I understand it there are a lot of good programmers here and they are willing to help, just be respectful!
"Here is a programming challange" titles are not going to get you anywhere.
Thank you everyone here. You are all very helpful keep up the great work!
Jay