A310. 判断正负 题解
2025-09-22 20:57:20
发布于:广东
0阅读
0回复
0点赞
#include<bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
if (n > 0)
cout << "positive";
else if (n == 0)
cout << "zero";
else
cout << "negative";
return 0;
}
这里空空如也
有帮助,赞一个