average
Objective: Write program code to create, traverse,
and manipulate elements in 1D array or
ArrayList objects.
Complete the method such that the average of the elements in the list is calculated and returned.
For example, given a list[1 2 3]
the average will be 2.0
The following are methods of a list that can be used to manipulate the contained data.
Type your solution
Skills Practiced:
3.C
3.D
4.A
4.B
Saved
Saved