Submit | All submissions | Best solutions | Back to list |
ORTL1P01 - Positive |
Given an integer number N, determine if N is positive, negative or zero.
Input
An integer number, N [-100 <= N <= 100]
Output
One line of text indicating if it's positive, negative or zero:
"Positivo" if N is positive,
"Negativo" if N is negative and
"Cero" if N is zero.
Example
Input: -23 Output: Negativo
Added by: | Joaquin |
Date: | 2014-05-01 |
Time limit: | 1s |
Source limit: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | All except: ASM64 |