ac
2025-12-27 22:24:18
发布于:浙江
0阅读
0回复
0点赞
#include<iostream>
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;
}
关键在于条件
这里空空如也

有帮助,赞一个