the sum of the elements of an int valued array recursively calculated as follows: the sum of an array of size 0 is 0; otherwise, the sum is the value of the first element added to the sum of the rest of the array. write an int valued function named sum that accepts an int array, and the number of elements in the array and returns the sum of the elements of the array.