input single integer value, output the value as separate digits
Hi All!
I can't find any help on how to input single integer value, output the value as separate digits.
I meant to use the remainder and division operators. So if i input 1234, i'd be able to printf it out as 1 2 3 4 or as 4321. I'm not meant to use arrays or anything like that. Please help.
Last edited by hubabuba; 03-02-2005 at 08:07 AM.
|