题解
2024-11-17 10:31:06
发布于:河南
1阅读
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;
}
这里空空如也
2024-11-17 10:31:06
发布于:河南
#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;
}
这里空空如也
提交答案之后,这里将显示提交结果~
有帮助,赞一个