#include <iostream>
using namespace std;
int main() {
int x;
cout<<"enter a number "<<endl;
cin>>x;
if(x%2==0){
cout<<"even number";
}
else{
cout<<"odd number"<<endl;
cout<<"diddy well done";
}
}
To embed this project on your website, copy the following code and paste it into your website's HTML: