C++ Program to Check Number is Odd or Even

Underneath I have shared the C++ program to check a number is odd or even.

For instance, in the event that client enters an odd number like 5, at that point, the yield will be Odd

number and in the event, that client enters considerably number like 8, at that point yield will be Even number.

In the event that you have any issue in regards to underneath odd or much number program, at that point, you can ask it by remarking beneath.


using namespace std;
int main()
	int a;
	cout<<"enter the number:";
		cout<<"\nEven number";
		cout<<"\nOdd number";
	return 0;


enter the number:9

Even number

Leave a Comment

error: Alert: Content is protected!!