Question: use c++ Count Positives Negatives and 0s Description: Write a program that allows user to continuously enter numbers and at the end it should display
Count Positives Negatives and 0s Description: Write a program that allows user to continuously enter numbers and at the end it should display the count of positive, negative and zeros entered. Expected sample input/output: Enter number : 56 Do you want to Continue(y)? y Enter number : -9 Do you want to Continue(y)? y Enter number : 67 Do you want to Continue(y)? y Enter number : 54 Do you want to Continue(y)? y Enter number : 98 Do you want to Continue(y)? y Enter number : 13 Do you want to Continue(y)? y Enter number : 0 Do you want to Continue(y)? y Enter number : 98 Do you want to Continue(y)? y Enter number : 0 Do you want to Continue (y) ? n Positive Number :3 Negative Number :4 Zero Number :2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
