To find whether a given input integer a Positive, Negative or zero-csec
Submit solution
C
Points:
15 (partial)
Time limit:
2.0s
Memory limit:
64M
Authors:
Problem type
Allowed languages
TASK
Write a program in C to check whether the input integer is positive, negative or zero
Input Format:
A single line containing user input as an integer
Output Format:
A single line containing the user output integer
Sample Input 1:
25
Sample Output 1:
Positive
Sample Input 2:
-15
Sample Output 2:
Negative
Sample Input 3:
0
Sample Output 3:
Zero
Comments