Challenge: Compute Sum of the Array
Test your knowledge about arrays by computing the sum of the elements present in an array to pass the challenge.
We'll cover the following
Problem statement
-
For the given function
addingAColectionOfNumbers
, compute the sum of the elements passed in the arrayaCollectionOfNumbers
. -
After computing the sum, you need to return the sum of the array.
Get hands-on with 1400+ tech skills courses.