Create a new running average. this.sum = 0;
this.sum = 0;
Return average-so-far. return sum / count;
return sum / count;
count = 0; sum = 0;
Update average and return average-so-far. sum += newValue; count++; return sum / count;
sum += newValue; count++; return sum / count;