After several hours, I haven\'t made progress on making a method to output the average. I also need to make a sort class. Overall, the assignment needs.
Develop meth
int sum = 0; for (int d : arg ) sum += d; double average = 1.0d * sum / arg .length;
this will help you to find average...