Question: (Need to use a for-loop) Using C++ Write a program to count the number of even and odd numbers entered by the user. Program will
(Need to use a for-loop)
Using C++
Write a program to count the number of even and odd numbers entered by the user.
Program will prompt user for nunber of values they will be entering, then program will get user to enter integers.
Once entered, the program will display how many even and odd numbers are entered
Example
How many numbers will you be entering?
6
Enter each value
5 3 2 9 6 21
Output:
You Entered 4 odd numbers and 3 even numbers
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
