urgent? urgent to who? certainly not urgent to me. i have other more pressing things on my mind. anyway, stupid internet explorer displays a mess when i bring up your attachment, so here is a fixed version (same exact code) that ie will not clobber.

Code:

#include<stdio.h>
#include<math.h>
double standard_deviation (double sum_squares, double N, double average);
int main()
{
int count, N;
double num, sum, average;
double small;
double sum_squares, st_dev;
sum = 0.0;
average = 0.0;
count = 0;
printf("How many number?" );
scanf("%d",&N);
printf("Enter %d number and <Enter> after each> ", N);
while (count < N){
scanf("%lf",&num);
sum= sum + num;
average= sum / (double) N;
sum_squares = pow(sum, 2);
count = count + 1;
}
small = num;
while (++count < N){
scanf("%lf",&num);
if (small < num)
small = num;
}
/* function call */
st_dev = standard_deviation (sum_squares, N, average);
/* print the result */
printf("\nAverage=%.2f", average);
printf("\nSmallest=%.2f", small);
printf("\nStandard Deviation is %.2f\n", st_dev);
return (0);
}
double standard_deviation (double sum_squares, double N, double average)
{
double stand_dev;
stand_dev = sqrt((sum_squares / N) - pow(average, 2));
return (stand_dev);
}