Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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.500000Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started