#include<iostream.h>
#include<conio.h>
void main()
{
int n;
clrscr();
cout<<“enter the value of n:”;
cin>>n;
if(n%2!=0)
{
cout<<\n<<“it is odd number”;
}
else
{
cout<<\n<<“it is not an odd number”;
}
getch();
}

80,454 total views, 12 views today

Get Free Email Updates..!
Join us for FREE to get instant email updates..! GobsInfo- Everything Unlimited
We hate spam. Your email address will not be sold or shared with anyone else.

4,299 Thoughts to “C++ PROGRAM TO FIND EVEN OR ODD USING IF-ELSE STATEMENT”

  1. This blog was… how do you say it? Relevant!!
    Finally I have found something that helped me.
    Thanks a lot!

  2. Wonderful blog! I found it while browsing on Yahoo News. Do you have any suggestions on how to get listed in Yahoo News? I’ve been trying for a while but I never seem to get there! Thanks|

  3. Rajamangala University of Technology Thanyaburi

    […]we came across a cool site that you simply may appreciate. Take a appear in the event you want[…]

Leave a Comment