Garmin interview question

Coding Question: Sum the digits in an integer.