#C. 【例16.1】 判断数正负

    Type: RemoteJudge 1000ms 128MiB

【例16.1】 判断数正负

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

说明

给定一个整数NN,判断其正负。如果N>0N>0,输出positive;如果N=0N=0,输出zero;如果N<0N<0,输出negative

输入格式

一个整数NN(109N109-10^9≤N≤10^9)。

输出格式

如果N>0N>0, 输出positive;
如果N=0N=0, 输出zero;
如果N<0N<0, 输出negative

样例

1
positive

初一1、2基础班第6周作业——选择结构

Not Claimed
Status
Done
Problem
7
Open Since
2023-10-10 16:15
Deadline
2023-10-24 16:55
Extension
0 hour(s)