This program is supposed to end when the user enters 0 and then show the count, sum, average, min and max. I am able to figure out the sum count and average but my min and max i
First, initialize min and max with proper values.
int min = INT_MAX; int max = INT_MIN;
Second, update min only when the input number less than current min. Update max only when the input number is greater than the current max.