Question: In C++: (Analyze input) Write a program that first reads an integer for the array size, then reads numbers into the array, counts the even
In C++: (Analyze input) Write a program that first reads an integer for the array size, then reads numbers into the array, counts the even numbers and the odd numbers and displays them.
(62 points) Work Programming Exercise 11.1 on page 449, using the new operator to create new memory. In addition to the requirements listed with the exercise:
Display the contents of the array, the average, and the number of values above the average.
Test the program using any values you pick for two cases:
array size = 4
array size = 8
Turn in a copy of the program as well as the output for the two test cases.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
