There are 20 patients in each group. The investigator wants to know the answer to the following question. Write a program which uses simulation to give an approximate answer to this question. The printout includes a residual mean square, which is an estimate of sig2.
Many programmers think it is bad to use 'goto' statements.
The program is typically more confusing to read and debug if goto statements are allowed. Also the solution below is not the only way to solve the problem, but it works.