Students, please be sure to log in. This site does not use cookies and does not track/store work submitted when not signed in.
Unit 7 Problems
Java Reference Sheet
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.