#include<iostream.h>
#include<conio.h>
void main()
{
                int a,b,c;
                clrscr();
                cout<<"Enter Three Values of A B C : \n";
                cin>>a>>b>>c;
                cout<<"\t";
                if((a>b) && (a>c))
                                {
                                cout<<a<<" Is Larger ";
                                return;
                                }
                if((b>a) && (b>c))
                                {
                                cout<<b<<" Is Larger ";
                                }
                else
                                {
                                cout<<c<<" Is Larger ";
                                }
                getch();
}

18

Advertisements