about | help | code help+videos | done | prefs |
Given an array of ints, return the sum of all elements. Use enhanced/foreach loop for getting the elements of the given array. sumElem([]) → 0 sumElem([1, -1]) → 0 sumElem([1, 2, 3]) → 6 ...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: 170
Copyright Nick Parlante 2017 - privacy