【例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.
Description
Given an integer , determine if it is positive, zero, or negative. If , output positive; if , output zero; if , output negative.
Input Format
One integer ().
Output Format
If , output positive;
If , output zero;
If , output negative.
Sample
1positive
20251108 A班作业(6)
- Status
- Done
- Problem
- 5
- Open Since
- 2025-11-8 0:00
- Deadline
- 2025-11-29 23:59
- Extension
- 24 hour(s)