What is the following method doing please clearly describe


What is the following method doing? Please clearly describe it.

public double Question(float[] array) {
double sum = 0;
for(int i = 0; i < array.length; i++)
sum += array[i];
return (double) sum/array.length;
}

 

Solution Preview :

Prepared by a verified Expert
JAVA Programming: What is the following method doing please clearly describe
Reference No:- TGS02366559

Now Priced at $5 (50% Discount)

Recommended (97%)

Rated (4.9/5)