diff options
Diffstat (limited to '4p6.cpp')
-rw-r--r-- | 4p6.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -0,0 +1,22 @@ +#include <iostream> + +/* + * + * 4.6 + * + * + */ + +int main () { + + int input; + if(std::cin >> input) {} else { return -1; } + + if(input % 2 == 0) { + std::cout << "Even" << std::endl; + } else { + std::cout << "Odd" << std::endl; + } + + return 0; +} |