you can also do it in formcalc.
For adding use the sum() function.
For averages use the Avg() function.
You could put the formula in the calculate event of the field you want the results to show in and it would appear as soon as the initial numers are entered, or if you want to use a button you could put the formula in the click event of the button.