题解 | #判断整数奇偶性#
判断整数奇偶性
https://www.nowcoder.com/practice/a8b018667e274af29b5f76a6673450fc
#include<iostream> using namespace std; int main() { int a; while(cin>>a){ if(a%2==0)cout<<"Even"; else cout<<"Odd"; cout<<endl; } return 0; }
牛客语法编程题题解 文章被收录于专栏
主要包括牛客的一些语法题的题解