about | help | code help+videos | done | prefs |
countDigits
Calculate the number of digits in an integer. When the number is negative, ignore the negative sign, and just look at the numbers. countDigits(0) → 1 countDigits(4) → 1 countDigits(12) → 2 ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy