#include <iostream>
int main(int argc, char const* argv[]) {
while(1) {
std::cout << ">> "; int x; std::cin>>x;
if(x<0) break;
else if(x%2==0) {std::cout << "\\This is even number.\\";}
else std::cout << "\\This is odd number.\\";
}
return 0;
4.5m questions
5.9m answers