about | help | code help+videos | done | prefs |
Write a method that returns the sum of all the digits in all the numbers in an array of positive integers. You may not use strings in any way! rrr2sumArrayDigits([]) → 0 rrr2sumArrayDigits([7]) → 7 rrr2sumArrayDigits([1000]) → 1 ...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: 290
Copyright Nick Parlante 2017 - privacy