You are on page 1of 2

Earl Niño U.

Alajid ES085

BSEE 2-K1 Due date: December 8, 2022

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:

You might also like