Write A Complete C 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) Ii) The Average Of The Integers (with 1 De

匿名用户 最后更新于 2021-12-01 19:36 计算机类Computing

Write a complete C 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) ii) The average of the integers (with 1 decimal point of precision) iii) The maximum integer The minimum integer iv) 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 Figure 13

已邀请: