about | help | code help+videos | done | prefs |
Given an integer, write a method countSixes that will return the count of how many sixes are in the integer. countSixes(12334) would return 0, while countSixes(14563) would return 1; countSixes(12334) → 0 countSixes(14563) → 1 countSixes(6616606) → 5 ...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: 100
Copyright Nick Parlante 2017 - privacy