p4_7 Subroutine

public subroutine p4_7()

Modify program stats_2 to use the DO WHILE construct instaed of the while construct currently in the program

 A modified statistical analysis program that avoids the divide-by-zero problems inherent in

program stats_1.

Purpose:

To calculate mean and the standard deviation of an input

data set containing an arbitrary number of input values.

Record of revisions:

Date Programmer Description of change ==== ========== ===================== 11/10/15 S. J. Chapman Original code 11/12/15 S. J. Chapman Correct divide-by-0 error if 0 or 1 input values given. 02/16/21 E. J. Voyles Add do-while construct

Arguments

None

Contents

None