about | help | code help+videos | done | prefs |
Given two integers, start and stop, return the sum of all of the integers from start to stop, including start and stop but not including any integer that is a multiple of 3. For example if start = 1 and stop = 9, then find and return the sum 1 + 2 + 4 + 5 + 7 + 8. You may assume that start <= stop. sumNoMultiples3(-11, 0) → -48 sumNoMultiples3(3, 6) → 9 sumNoMultiples3(1, 9) → 27 ...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