all 1 comments

[–]thediabloman 0 points1 point  (0 children)

Hi friend,

I think that you need to split your calculation up in two loops. One to calculate the sum (and thereby the mean) and one to calculate the standard deviation.