#23820: Python,C++程式碼填空


mit0224 (mit0224)

School : 臺北市立大安高級工業職業學校
ID : 86638
IP address : [114.25.32.199]
Last Login :
2021-04-25 18:34:48
d064. ㄑㄧˊ 數? -- 板橋高中教學題 | From: [114.25.36.180] | Post Date : 2020-12-21 21:59

Python:

s = int(input())

if ___???___:

    print("Even")

else:

    print("Odd")

 

C++:

#include <iostream>

using namespace std;

 

int main()

{

int s;

cin >> s;

if(___???___)

{

cout << "Even";

}

else

{

cout << "Odd";

}

cout << endl;

 

}


 
ZeroJudge Forum