Programming and Software Development
Friday, April 16, 2010
Bigger Number
void main()
{
clrscr();
int a,b;
cout<<"enter 1st no\n"; cin>>a;
cout<<"enter 2nd no\n"; cin>>b;
if(a>b)
cout<<"a is bigger\n"; if(b>a)
cout<<"b is bigger";
getch();
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment