0
/ 50
This method returns the sum of ages stored in a 1-dimensional array. For example if ages
contains {24, 12, 32, 56}
, this method should...
This method returns the sum of ages stored in a 1-dimensional array.
For example if ages
contains {24, 12, 32, 56}
, this method
should return 124.
However, the code is not working correctly. Fix the mistake in
the method.
Your feedback will appear here when you check your answer.