about | help | code help+videos | done | prefs |
Write a method that uses "/" and "%" and does NOT use strings. This method will return the number of even DIGITS in a positive integer parameter. Look at the test data for examples. countEvenDigits(2412) → 3 countEvenDigits(7953) → 0 countEvenDigits(864) → 3 ...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