#25662: 解答(C++)


weimolin222@gmail.com (林維摩)

School : 屏東市明正國中
ID : 128544
IP address : [180.176.69.238]
Last Login :
2021-08-08 20:22:44
d064. ㄑㄧˊ 數? -- 板橋高中教學題 | From: [180.176.69.238] | Post Date : 2021-06-10 18:59

#include<iostream>

using namespace std;

int main(){

int n;

cin>>n;

if(n%2==1){

cout<<"Odd";

}

else{

cout<<"Even";

}

}

 
ZeroJudge Forum