Professional Documents
Culture Documents
ES085-W 7-Ass 2
ES085-W 7-Ass 2
Alajid ES085
Assignment 2: Write a function getSum() that will return the sum of the elements of an array of
integers. Display the sum and average. Present at least 2 test cases for your sample outputs.
Sample Output: