int main(){
int x , digit1 , digit2 ;
cin >> x ;
if ( x > 9 ) {
digit1 = ( x / 10 ) ;
digit2 = ( x - ( digit1 * 10 )) ;
if ( digit2 = 0 , 2 , 4 , 6 , 8 ) {
cout << "The number is even." << endl ;
} else {
cout << "The number is not even." << endl ;
}
} else ( x < (-9)) ; {
digit1 = ( x / ( -10 )) ;
digit2 = ( x + ( digit1 * ( -10 ))) ;
if ( digit2 = 0 , -2 , -4 , -6, -8 ) {
cout << "The number is even." << endl ;
} else {
cout << "The number is not even." << endl ;
}
}