Question: USING C++... Ask the users for numbers until the total of the numbers is greater than 30. Also, count how many numbers are even and

USING C++...

Ask the users for numbers until the total of the numbers is greater than 30. Also, count how many numbers are even and how many are odd. For example:

Total is 0 Please enter an integer: 20 Total is 20 Please enter an integer: 7 Total is 27 Please enter an integer: 2 Total is 29 Please enter an integer: 1 Total is 30 Please enter an integer: 1 You had 2 even numbers and 3 odd numbers. 

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!