Problem1576--C Programming Practicals 4 Switch for Solutions

1576: C Programming Practicals 4 Switch for Solutions

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 258  Solved: 171
[Submit] [Status] [Web Board] [Creator:]

Description

Write a C program that read 6 numbers and counts the number of positive numbers and negative numbers.

Input

Input the first number: 20 Input the second number: 30 Input the third number: 40 Input the fourth number: 50 Input the fifth number: 60 Input the sixth number: 70

Output

Number of positive numbers: 6 Number of negative numbers: 0

Sample Input Copy

20
30
40
50
60
70

Sample Output Copy

Number of positive numbers: 6
Number of negative numbers: 0

Source/Category

123