beyondgrader.com Logo
DemoBrowseAboutTeamLogin

Array Sum (One Dimensional)

Geoffrey Challen // 2020.9.0

Declare and implement a function called arraySum that receives a one-dimensional array of int values as its only parameter and returns the sum of the values in the array as an int. If the array is null you should return 0.