Plus, Minus or Zero (Baby Steps)

A thermometer shows a number n. Print Positive if it is above 0, Negative if it is below 0, and Zero if it is exactly 0.

Input: One integer n (-1000 to 1000).

Output: Positive, Negative or Zero.

Difficulty: Easy. Write your answer in the browser editor, run the examples, then submit it against hidden tests. Python and JavaScript are free; other languages are part of licode Club.

Hint

  • Check n 0 first, then n < 0.

More Baby Steps practice