Quote Originally Posted by rosleenXOXO View Post
I'm calculating it in a loop because of my professor(He's CRAZY) wants it that way...
It's possible that he would want the sum calculated in a loop. Then after the loop, calculate the mean from that sum.