about | help | code help+videos | done | prefs |
Write a method that finds the sum of the even integers in the input parameter array of integers. Odd integers are not included in the sum. Please look at the test data for examples. dec18_2017_APSLHL_sumOfEvens([]) → 0 dec18_2017_APSLHL_sumOfEvens([34, 3251, 542, 523, 876, 964, 453, 6, 7, 8923, 2]) → 2424 dec18_2017_APSLHL_sumOfEvens([8, 6, 10, 17, 3, 80]) → 104 ...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: 280
Copyright Nick Parlante 2017 - privacy