Online Visitor Counter

  • RSS
  • Delicious
  • Digg
  • Facebook
  • Twitter
  • Linkedin
  • Youtube

Friday, April 18, 2014

Number is greater or smaller


#include<conio.h>
#include<iostream.h>
void main()
{
clrscr();
int num=100, num2=50;
if(num>num2)
{
cout<<”1st  number is greater”<<endl;
cout<<”2nd number is smaller”<<endl;
}
Else
{
cout<<”1st  number is smaller”<<endl;
cout<<”2nd number is greater”<<endl;
}
cout<<”By Muzafar Hussain Sahto”;
getch();
}
t'>}

No comments:

Post a Comment

 
  • Blogroll

  • Consectetuer

  • Popular

  • Comments