代码:
#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; }
代码:
#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; }