Question: Write a program that will read 10 integers from the user into array num. your program should count number of Positive integers and negative integers

 Write a program that will read 10 integers from the user

Write a program that will read 10 integers from the user into array num. your program should count number of Positive integers and negative integers and zeros and print it on screen. Sample Output: Enter 10 integers: 1 -2 0 3 8 -2 -7 0 7 0 Number of Positive integers : 4 Number of Negative integers : 3 Number of zeros :3 3

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!