// Writing a c++ program
// Making a variable to take input
int input=0;
cout<<"Enter the number ";
cin>>input;
// checking if the entered number is positive and not 0
if(input>0){
// if the mode of number with 2 is 0 then it is Even
if(input%2==0)
cout<<"The number is prime.";
// if mode is 1 then its ODD
else if(input%2==1)
cout<<"The number is ODD.";
}