Hey, I'm kinda crappy with arrays.
int [] myArray = new int[5];
myArray[0] = num1; // initialize # of cols
myArray[1] = num2; // in each row
myArray[2] = num3;
myArray[3] = num4;
myArray[4] = num5;
I want to use a for statement, to add these 5 things together, and then divide that by 5. Any idea how I can do that?