positive or negative


Submit solution

Points: 10 (partial)
Time limit: 12.0s
Memory limit: 64M

Author:
Problem type
Allowed languages
C

Task: The task is to read a number from the user and check whether it is positive or negative. Display the output "positive" if it is positive, "negative" if it is negative, "zero" otherwise.

Input:

Get a single value from the user

Output:

display the output in single line.

Input1:

-2

Output1:

negative

Input2:

5

Output2:

positive

Input3:

0

Output3:

zero


Comments

There are no comments at the moment.