After you voted my first answer with a 1...
flance99 wrote:
Been trying and searching and searching.... no sleep yet!
So, you're looking for an answer to a homework question. If you really had been "searching and searching", you would have found this:
http://www.codeproject.com/Messages/3341745/Re-how-to-split-input-integer-variable-modified.aspx[
^]
It looks like one of your classmates came here for an answer, too. While you'r4e looking at that, make sure you note who provided the answer he wanted, and make sure your read the entire post, because the note that follows the code applies to you, too.
I find it insulting that people taking a class on programming feel the need to scrounge around on established programmer sites looking for people to do they work they're supposed to be doing so they can learn the craft. IMHO, you guys are nothing but losers that have apparently chosen the wrong occupation.
BTW, the reason this is insulting is because I have to compete against people like you in the workplace. I don't mine losing out to a guy that's as good as or better than I am, but losing out to someone because they're cheaper yet not nearly as qualified really ticks me off.