#include<iostream.h>
#include<conio.h>
int &max(int &a,int &b,int &c)
{
if(a>b&&a>c)
return a;
elseif(b>a&&b>c)
return b;
elsereturn c;
}
main()
{
clrscr();
int a,b,c;
cout<<"Please enter the value for a and b:";
cin>>a>>b>>c;
cout<<"Maximum is :"<<max(a,b,c)<<"\n";
}