0
/ 1.0
For function sumOfDigits
, write the missing recursive call. This function takes a non-negative integer and returns the sum of its 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
Your feedback will appear here when you check your answer.