#include<iostream>
using namespace std;
int main(){
int a,b,c;
cin>>a;
if(a%2==0){
cout<<"even";
}else{
cout<<"odd";
}
return 0;
}
2009 奇偶数判断
最新推荐文章于 2024-09-07 05:15:02 发布
#include<iostream>
using namespace std;
int main(){
int a,b,c;
cin>>a;
if(a%2==0){
cout<<"even";
}else{
cout<<"odd";
}
return 0;
}