public static double average( double... numbers ) {
double total = 0.0;
[B][I][COLOR="Red"]for (double d : numbers)[/[/COLOR]I][/B] {
total += d;
}
return total / numbers.length;
}
can any one explain the line bold
if posseble d program too...