C++ Program to Check Whether a Number is Odd or Even
In this program we will take number from user as input and check if the entered number is odd number or even number.
//C++ Program to Check Whether a Number is Odd or Even
using namespace std;
int a, b;
cout<<"Enter an integer: ";
cout<<"Entered number is even";
cout<<"Entered number is odd";
Codesadda.com is your home of programming solutions, tutorials, video tutorials and much more.
Sign Up for our weekly newsletter to get update about new content.