Hi, I have a rather simple question.
How can I obtain this result?
---------------------------------
Enter an integer: 283
number of hundreds: 2
number of tens : 8
number of ones : 3
----------------------------------
thank you for your time :)