Question: Write a c++ console application that accepts up to 5 numbers from the user. Display all numbers, the highest, the lowest and the average of
Write a Ct+ console application that accepts up to 5 numbers from the user. Display all numbers, the highest, the lowest, and the average of the numbers. Ask the user if they want to continue entering another set of numbers Requirements 1) Comments are extremely important. Add comments as you code. Do NOT wat until you are done coding. Also, in the beginning of your codes include the following comments: a. Purpose of the program b. Name of the author c. Date 2) Use proper naming conventions for your variables and functions. 3) Tell the user what the program is all about. Do NOT start the program with "Enter a number" 4) Create an array to store the numbers. 5) The user does not have to enter all 5 numbers. They can enter fewer. However of course, you need at least two numbers to be able to look for the highest and the lowest. Make sure you explain this to the user. 6) Create three functions to perform the following tasks a. Calculate the highest number b. Calculate the lowest number. c. Calculate the average
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
