#include <iostream> using namespace std; int main(){ int a; cin >>a; if(a<0&&a%2==-1) cout << "负奇数"<<endl; else if(a>0&&a%2==1) cout << "正奇数"<<endl; else if(a<0&&a%2==0) cout << "负偶数"<<endl; else cout << "正偶数"<<endl; return 0; }
by: 发表于:2018-05-28 15:23:36 顶(0) | 踩(0) 回复
??
by: 发表于:2018-05-28 15:23:36 顶(0) | 踩(0) 回复
??
回复评论