Question: Introduction to programming with c++ 8th edition Create a program that allows the user to enter the ages (in years) of five people. The program
Create a program that allows the user to enter the ages (in years) of five people. The program should display the average age. Use the for statement. Display the average age with one decimal place. If necessary, create a new project named TryThis15 Project, an ave it in the Cpp8|Ch TryThis15.cpp. Also enter appropriate comments and any additional instructions required by the compiler. Test the program using the following ages: 23, 31, 37, 19, and 43. (The answers to TRY THIS Exercises are located at the end of the chapter.) 15. TRY THIS ap07 folder. Enter the C++ instructions into a source file named
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
