#25056: ternary operator


cooljamesku92@gmail.com (你要不要訂閱一塊沒有影片的餅乾owo)


#include<iostream>

using namespace std;

int main()

{

int in;

cin >> in;

string result = (in % 2) ? "Odd" : "Even";

cout << result;

return 0;

}

#25061: Re:ternary operator


hsugoya@gmail.com (Мигает cf4?)


不要直接貼程式碼在解題報告