Pergunta de entrevista da empresa IBM

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

Resposta da entrevista

Sigiloso

25 de mai. de 2010

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