Question: need in c++ Write a program that asks the user for integers; stop when the user enters a zero (0). For each nonzero number, count

need in c++

Write a program that asks the user for integers; stop when the user enters a zero (0). For each nonzero number, count how many even, odd, positive and negative values are entered. Display the results as shown below: 1 2 3 4 5 6 7 8 -9 -10 -11 -12 0 You entered: 6 even numbers 6 odd numbers 8 positive numbers 4 negative 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!