| about | help | code help+videos | done | prefs |
Given a positive int, return the sum of the digits that have an even value. sumEvenDigits(8) → 8 sumEvenDigits(124) → 6 sumEvenDigits(123456789) → 20 ...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: 125 Post-solution available
Copyright Nick Parlante 2017 - privacy