X1098: Debugging Scope- Total Age

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 Answer:

Feedback

Your feedback will appear here when you check your answer.