Skip to content

Instantly share code, notes, and snippets.

Created Jul 18, 2021
What would you like to do?
using namespace std;
int main(){
int n;
cout<<"Enter a Number: ";
if (n%2==0){
cout<<"Even Number"<<endl;
else {
cout<<"Odd Number"<<endl;
return 0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment