Read set of integer numbers and count total negative, positive and zero’s in the set of numbers

Read set of integer numbers and count total negative, positive and zero’s in the set of numbers

Input:

5
-1 -2 3 4 0

Output:

From the numbers you entered:
 Positive numbers = 2
 Negative numbers = 2
 Zeros = 1


Implementation: