#include<iostream.h>
#include<conio.h>
main()
{
int a,b,c;
clrscr();
cout<<"\n Enter Number1 :";
cin>>a;
cout<<"\n Enter Number2 :";
cin>>b;
cout<<"\n Enter Number3 :";
cin>>c;
if(a>b&&a>c)
{
cout<<"\n First Number is Big";
}
else if(b>a && b>c)
{
cout<<"\n Second Number is Big";
}
else
{
cout<<"\n Third Number is Big";
}
getch();
}
#include<conio.h>
main()
{
int a,b,c;
clrscr();
cout<<"\n Enter Number1 :";
cin>>a;
cout<<"\n Enter Number2 :";
cin>>b;
cout<<"\n Enter Number3 :";
cin>>c;
if(a>b&&a>c)
{
cout<<"\n First Number is Big";
}
else if(b>a && b>c)
{
cout<<"\n Second Number is Big";
}
else
{
cout<<"\n Third Number is Big";
}
getch();
}
No comments:
Post a Comment