Take out a piece of paper and put your name on the upper right corner.
Write a subroutine with one parameter, an array of doubles. The subroutine should return the average of the doubles in the array.
Hint: Arrays have a property called length which returns the length of the array.
int[] arr = { 2, 4, 6, 8 }; // arr.length is equal to four
Finish your answers before the timer runs out.