Domanda di colloquio di IBM

Write code to tell how you would seperate decimal digits from an integer.

Risposta di colloquio

Anonimo

25 mag 2010

divide by 10 untill you get 0. The remainders of the division are the decimal digits.