C++/Python
2025-03-25 22:26:42
发布于:贵州
4阅读
0回复
0点赞
cpp
#include<bits/stdc++.h>
using namespace std;
int main(){
int a;
cin>>a;
if(a%2==1)cout<<"odd";
else cout<<"even";
return 0;
}
Python
#include<bits/stdc++.h>
using namespace std;
int main(){
int a;
cin>>a;
if(a%2==1)cout<<"odd";
else cout<<"even";
return 0;
}
这里空空如也
有帮助,赞一个