返回列表 發帖
  1. #include<bits/stdc++.h>
  2. using namespace std;
  3. int n;
  4. int main()
  5. {
  6.     cin >> n;
  7.     if(n%2==0)
  8.         cout << "even" << endl;
  9.     else
  10.         cout << "odd" << endl;
  11.     return 0;
  12. }
複製代碼
Vincent

TOP

返回列表