题解
2026-10-11 15:14:52
发布于:广东
2阅读
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;
}

这里空空如也


有帮助,赞一个