C Implementation
float x, max, min, sum, sum2, mean, variance;
if( scanf("%f", &x) == EOF )
printf(" 0 data items read\n");
while ( scanf("%f", &x) != EOF ) {
printf("%d data items read\n", count);
printf("maximum value read = %f\n", max);
printf("minimum value read = %f\n", min);
printf("sum of all values read = %f\n", sum);
printf("mean = %f\n", mean);
variance = sum2/count - mean * mean;
printf("variance = %f\n", variance);
printf("standard deviation = %f\n",