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.
You must at first input i:
scanf("%f",&i);
and then declare array:
float nu[i];