| about | help | code help+videos | done | prefs |
findGoodOnes
Using a for loop, find how many numbers are divisible by 3 or 4 between first and last inclusive. So if they give you 5,12 -> it would return 4 (because 6,8,9,12 work). findGoodOnes(6, 12) → 4 findGoodOnes(12, 20) → 5 findGoodOnes(1, 100) → 50 ...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