Scheme Exercises

back to exercise list       previous     next

Group:     Exercise: 27/48 

sumDigits:  Add up the digits of a positive number

Create the function "sumDigits" which will be given a positive integer and will return the sum of its digits