学习讨论
2026-08-29 20:23:34
发布于:福建
0阅读
0回复
0点赞
#include <iostream>
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;
}
这里空空如也

有帮助,赞一个