about | help | code help+videos | done | prefs |
findSumEven
create a method findSumEven that will add all the even numbers from begin to end. So if findSum (16,20) is called it will add 16,18,20 and return 54. Begin will always be even. findSumEven(16, 20) → 54 findSumEven(2, 200) → 10100 findSumEven(8, 20) → 98 ...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