stats-wrong.c
-- version of the stats program with an ambiguous spec
stats-no-functions.c
-- version of the program with corrected spec, and corresponding updated
implementation
stats-with-functions.c
-- refinement of the program to use functions to compute individual stats
stats-further-refined.c
-- improved version of the program that uses functions more effectively
stats-non-neg.c
-- version of the program that uses if statements to convert negative inputs to
0
stats-neg-drop.c
-- version of the program that uses if statements to convert negative inputs to
0 and drop negative values by decrementing the number of data points