IBM Interview Question

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

Interview Answer

Anonymous

May 25, 2010

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