A classic array operation is computing a total. Implement a small helper that sums all numbers in an array and returns a single number. You may use a loop or reduce.
This reinforces reading values from number[] and returning a number without changing the input.