bagaimana mendapatkan total arraylist
double sum = 0;
for(int i = 0; i < m.size(); i++)
sum += m.get(i);
return sum;
Drab Dragonfly
double sum = 0;
for(int i = 0; i < m.size(); i++)
sum += m.get(i);
return sum;