Write a complete program that prompts the user to enter a series . . . .
Write a complete program that prompts the user to enter a series of integers terminated by a 0. The program should then print positive integer as follows: i) The number of integers entered (not including the 0) 11) The average of the integers (with 1 decimal point of precision) The maximum integer iv) The minimum integer The sample output of this program is shown in Figure 13. Enter a series of integers terminated by a 0: 85 95 75 67 0 You have entered 4 integers. The average is 80.5 The maximum is 95 The minimum is 67
Expert Answer
code:- #include int main() { int array[100]; int i,min,max,j,sum=0; float avg; printf(“enter a series of in…
OR