October 30, 2011

Float Array Sum Function In Java

Float Array Sum Function In Java:

public float sumArr(float[] args)
{
int sum = 0;
for (int j=0; j sum += args[j];
}
return sum;
}

Last updated: March 19, 2014