小题解
2023-08-02 11:26:34
发布于:广东
0阅读
0回复
0点赞
#include<bits/stdc++.h>
using namespace std;
int main(){
int n;
cin>>n;
if(n>0){
cout<<"positive"<<endl;
}
if(n==0){
cout<<"zero"<<endl;
}
if(n<0){
cout<<"negative"<<endl;
}
return 0;
}
这里空空如也
有帮助,赞一个