about | help | code help+videos | done | prefs |
Given a non-empty array of positive integers, find the sum of all the values in that array, except do not use values that are multiples of 5 (5, 10, 15, 20, and so on). sumNo5([3, 6, 10, 2, 15]) → 11 sumNo5([2, 4, 6]) → 12 sumNo5([85]) → 0 ...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