Java Program to Find Sum and Average of All Elements in an Array
This is a Java Program to Calculate Sum & Average of an Array. Enter size of array and then enter all the elements of that array. Now using for loop we calculate sum of elements of array and hence we divide it by number of elements in array to get average. Here is the source … Read more