Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

calculate mean from arraylist jaca

for(int i = 0; i<sum.size(); i++)
    total = total+sum.get(i);
avg = total / sum.size();
System.out.println("The Average IS:" + avg);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #calculate #arraylist #jaca
ADD COMMENT
Topic
Name
5+7 =