-->
当前位置:首页 > 题库

PROGRAMMING:Judge whether an integer is a positive integer, a negative integer or zero

Luz5年前 (2021-05-10)题库334
Enter an integer to determine whether it is a positive integer, a negative integer or zero.
###Input format:
Enter an integer..
###Output format:
If it is a positive integer, output '+'; If it is a negative integer, output '-'; If zero, output '0'.
###Input example:
Here is a set of inputs. For example:
```in
one
```
###Output example:
The corresponding output is given here. For example:
```out
+
```







answer:If there is no answer, please comment