Answered step by step
Verified Expert Solution
Question
1 Approved Answer
---------------------------- Need in C++ only ---------------------------------------- Create a C++ program that asks the user to enter up to a maximum of 30 numbers. Inform the
---------------------------- Need in C++ only ----------------------------------------
Create a C++ program that asks the user to enter up to a maximum of 30 numbers. Inform the user that entering a sentinel value of -999 will terminate the data entry phase of the program. The program will store the numbers in an array of doubles and then display the following information: The lowest number in the array. (The number with the smallest value.) The highest number in the array. (The number with the greatest value.) The count of the number of valid entries made by the user. (Do not count entering the sentinel value as a valid entry.) The total of the numbers in the array. The average value of the numbers in the arrayStep 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