Question: (IN C++) write a program that prompts users to enter a sequence of positive integer numbers till a non-positive one (negative or 0) is typed
(IN C++) write a program that prompts users to enter a sequence of positive integer numbers till a non-positive one (negative or 0) is typed in.
Count and output the total number of even numbers; and then show the percentage of even number.
Save all the input integers (including both even and odd number) whose values are between 100 and 200 into the DYNAMIC array. The size of the DYNAMIC array is 100 (you need to take care of out-of-bound issue). At the end compute the average of integers whose value is between 50 and 150 (you need to take care of divided-by-0 issue).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
