Question: USING C LANGUAGE (without the use of limits.h) Write a function that continuously accept integer inputs from the user until the user enters -999 (sentinel
USING C LANGUAGE (without the use of limits.h) 
Write a function that continuously accept integer inputs from the user until the user enters -999 (sentinel value). The function identifies the highest and lowest value entered, the average of inputs. Highest and lowest values, and the average are displayed by the main() function. Sample Runs: Value: -999 Value: 8 Value: -999 Min = NA Max = NA Min = 8 Value: 1 Value: 2 Value: 3 Value: 4 Value: 10 Value: -19 Value: -29 Value: 0 Value: -999 Ave = NA Max = 8 Ave = 8.000000 Min = -29 Max = 10 Ave = -3.500000
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
