what kind of values are you getting for numberIn? if it's anything less that 100, then
numberIn / 100
WILL always be 0, and so the mod 10 will be 0.
are you using numbers > 100?
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Joined: May 21, 2005
Maybe a little more code and output would help
[ I removed the code - Pauline ]
here's the output:
numberIn = 69
Sixty-Nine <---- right Zero-Nine <---- wrong Press any key to continue . . .
I hope the formatting comes out...
[Sorry to have to do that Herbert, it's just in case anyone working on this one would prefer not to see others' code before they figure it out themselves. -Pauline ] [ April 12, 2006: Message edited by: Pauline McNamara ]