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.
Program
#include<iostream>
using namespace std;
int main()
{
int a;
cout<<"enter the number:";
cin>>a;
if(a%2==0)
cout<<"\nEven number";
else
cout<<"\nOdd number";
return 0;
}
Output
enter the number:9
Even number