题解
2023-07-07 14:06:04
发布于:四川
1阅读
0回复
0点赞
简单,AC代码
#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;
}
这里空空如也
有帮助,赞一个