14. Positive, Negative or Zero
Foundation1000 ms256 MBSolved by 0%
Read an integer and print Positive, Negative or Zero.
Print exactly one of those three words, capitalised as shown.
Constraints - `-1000000000 ≤ n ≤ 1000000000`
Input
A single line containing one integer n.
Output
Print exactly one word: Positive, Negative or Zero, capitalised as shown.
Input7
OutputPositive
Noteis a small positive number
Input-3
OutputNegative
Noteis a small negative number
Hints
Four rungs, in order. The last two open once you have submitted an attempt. A wrong one counts.
Hint 1Where to start
Hint 2The approachOpen hint 1 first. This one carries on from it.
Hint 3PseudocodeOpen hint 2 first. This one carries on from it.
Hint 4Full solutionOpen hint 3 first. This one carries on from it.