// con1.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include using namespace std; int main() { int x=20, y=23, z=67; cout << "Enter an integer number: "; cin >> x; if (x%2 == 0) cout << "even" << endl; else cout << "odd" << endl; return 0; }