Write a program that inputs number of values then inputs these values (double type) one by one in a loop and finally outputs their sum, the maximum value and the minimum value.
If you dont know the array dimension before, use dynamic allocation.
replace
float nu[]; i=nu[]; printf("Number of values :"); scanf("%f",&i);
with:
float *nu=0; printf("Number of values :"); scanf("%f",&i); nu=malloc(i*sizeof*nu); if(!nu) fprintf(stderr,"not enough memory"),exit(1); ... free(nu);