#include <iostream>
#include <string>

using namespace std;

bool isOdd(int) ; 
bool isEven(int) ; 

int main() {	
	
	int x ; 
	cout << "Please enter an integer number: " ; 
	cin >> x ; 
	
	if (isOdd(x))
		cout << " is an odd number" << endl; 
	
	if (isEven(x)){
		cout << x << " is an even number" << endl;
	}
	
		
	
	return 0;
}

bool isOdd(int num){
		if (num % 2) //conditinal value == 1 => true
			return true ; 
		else 
			return false ; 
}

bool isEven(int num) {
	if (!(num % 2)) { //conditinal value == 0 => false => inverse (false) => true
		return true ;
		 }
	else 
		return false ; 
}

