We've got a puzzle for you that will require a little thinking. Or you can Google the solution if you aren't too keen on math puzzles. In any case, you will do well to understand the whys and wherefores. You need to implement a method that takes a threedigit number and returns the sum of that number's digits.
Sum of the digits of a threedigit number

2

Locked
