very easy
2024-08-02 12:53:27
发布于:广东
1阅读
0回复
0点赞
#include<bits/stdc++.h>
using namespace std;
string x(int c){
if(c>0)return "positive";
else if(c==0)return "zero";
else return "negative";
}
int main(){
int n;
cin>>n;
cout<<x(n);
return 0;
}
这里空空如也
有帮助,赞一个