新手教程
2025-09-25 19:09:11
发布于:浙江
0阅读
0回复
0点赞
#includ <iostream>
using namespace std;
int main() {
int n;
cin >> n;
if(n % 2 == 1) {
cout << "odd";
}
if(n % 2 == 0) {
cout << "even";
}
return 0;
}
这里空空如也
2025-09-25 19:09:11
发布于:浙江
#includ <iostream>
using namespace std;
int main() {
int n;
cin >> n;
if(n % 2 == 1) {
cout << "odd";
}
if(n % 2 == 0) {
cout << "even";
}
return 0;
}
这里空空如也
提交答案之后,这里将显示提交结果~
有帮助,赞一个