提交时间:2024-09-22 21:17:28
运行 ID: 51578
#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; }