about | help | code help+videos | done | prefs |
You are given one param int limit The method numEnds3 will return the amount of #s ending in 3 between 1 and limit inclusive. For example, if the limit is 20, the method will return 2 because there are 2 ints between 1 and 20 that end with a 3 (3, 13) numEnds3(3) → 1 numEnds3(10) → 1 numEnds3(13) → 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
Difficulty: 200
Copyright Nick Parlante 2017 - privacy