Beginner's Guide To Programming
It's All About Programming.
Contents
C
C++
COBOL
COBOL TUTOR PART 1
SQL
TRICKS AND TIPS
Odd Or Even Number
#include<iostream.h>
#include<conio.h>
void main()
{
cout<<"get number";
cin>>n;
if(n%2==0)
cout<<"even number";
else
cout<<"odd number";
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Earn upto Rs. 9,000 pm checking Emails. Join now!
No comments:
Post a Comment