C++ Even & Odd Number Teller Program
#include<iostream.h>
void main()
{ int num;
cout<<"Enter the number to check weather its even or not = "; cin>>num;
if(num%2==0){cout<<"number is even";}
else if(num%3==0){cout<<"number is odd";}
else {cout<<"Try Again";}
}