about | help | code help+videos | done | prefs |
Given an integer, return the sum of its digits! sumDigits(97543) → 28 sumDigits(12345) → 15 sumDigits(85) → 13 ...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: 2
Copyright Nick Parlante 2017 - privacy