Program:
// Program By http://solutionscpp.blogspot.com
// Author Mansoor Ahmed
// GMail ID: secguy000@gmail.com
#include<iostream>
using namespace std;
int main()
{
int n=0;
cout<<"Enter Number: ";
cin>>n;
if(n%2==0)
cout<<"Number is Even" <<endl;
else
cout<<"Number is Odd" <<endl;
return 0;
}
ReplyDeletenice article for beginners.thank you.
c++ tutorial
java tutorial