X279: Recursion Programming Exercise: Sum of the Digits

For function 'sumOfDigits', write the missing recursive call. This function takes a non-negative integer and returns the sum of its digits.

Examples:

sumOfDigits(1234) -> 10
Reset

Practice a different Java exercise