C Plus Plus Programming

You can learn all c++ programming in this website easilly.

Responsive Ads Here

Adds

Monday, January 21, 2019

how to find even odd numbers

Programe

#include <iostream>
using namespace std;
int main()
{
int n ;
cout<<"Enter A Number=";
cin>>n;
{
if(n%2==0)
cout<<n<<":IS Even Number";
else
cout<<n<<":IS odd Number";


}
}

No comments:

Post a Comment