Skip to content
CampusEduX

Sign of a Number

Easyjava
Learn the Concept: Relational Operators

Read an integer and print positive, negative or zero based on relational comparisons with 0.

Input: one integer.

Output: one line — positive, negative or zero.

Related Problems

Input (stdin)

Output

Run your code to see output here...