index | submit | rank | book

signum1 – The signal of a number (easy ver.)

Write a program that reads an integer and prints whether it is positive, negative or zero.

Integer signals in a line

Input will consist of a single number n where -100 ≤ n ≤ 100.

Output should contain a single line with either: positive, negative or zero.

Example Input 1

60

Example Output 1

positive

Example Input 2

-33

Example Output 2

negative

Scoring

try first: order1

try also: good1

try next: factorial1 triangle1

index | submit | rank | book

Copyright © 2020-2023 Rudy Matela
All rights reserved