75分求助
查看原帖
75分求助
760712
_fox_楼主2023/9/8 08:58
#include<bits/stdc++.h>
using namespace std;
int main(){
	long long k;
	cin>>k;
	if(k<0){
		cout<<"egative";
	}
	else if(k>0){
		cout<<"positive";
	}
	else if(k==0){
		cout<<"zero";
	}
	return 0;
}

2023/9/8 08:58
加载中...