Pages

Friday, July 29, 2011

d064. ㄑㄧˊ 數?


#include

using namespace std;

int main(int argc, char *argv[])
{
int input;
while(cin>>input)
{
cout<< ((input%2==0)? "Even":"Odd")<

}
return EXIT_SUCCESS;
}

No comments:

Post a Comment