OI-Codes/XSM OJ 重庆小码王集团OJ/判断数字的奇偶.cpp
2024-02-15 22:38:30 +08:00

14 lines
150 B
C++

#include <bits/stdc++.h>
using namespace std;
int main(){
int a;
cin >> a;
if(a%2==0){
cout <<"even";
}
else{
cout <<"odd";
}
return 0;
}