| about | help | code help+videos | done | prefs | 
| Given a non-negative integer, compute the sum of its digits. sumDigits(45) → 9 sumDigits(502) → 7 sumDigits(999) → 27 ...Save, Compile, Run (ctrl-enter) | 
Progress graphs: 
 Your progress graph for this problem
 Random user progress graph for this problem 
 Random Epic Progress Graph
Difficulty: 200 Post-solution available
Copyright Nick Parlante 2017 - privacy