提交时间:2024-09-28 15:32:32
运行 ID: 52199
#include<bits/stdc++.h> int main() { int num; scanf("%d", &num); if (num > 0) { printf("positive\n"); } else if (num < 0) { printf("negative\n"); } else { printf("zero\n"); } return 0; }