#include <iostream>
using namespace std;
int main()
{
    int i;
    cout<<" \n Enter a Number : ";
    cin>> i;
    cout<<i;
    if(i%2==0)
           cout<<"\n The given number is an Even number\n";
    else      
           cout<<"\n The given number is an Odd number\n";
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: