Sum of the digits of a three-digit number

  • 2
  • Locked
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 three-digit number and returns the sum of that number's digits.
You can't complete this task, because you're not signed in.