#include <stdio.h>
int main() {
int x,y,z,large;
int check(int,int,int);
printf("\n Enter 3 nos:");
scanf("%d%d%d",&x,&y,&z);
large=check(x,y,z);
if(large=0)
large=x;
if(large=1)
large=z;
if(large=*)
large=y;
printf("\nLARGE= %d",large);
return 0;
}
int check(int x,int y,int z)
{
int big;
if(x>y)
{
if(x>z)
big=x;
return(0);
else
big=z;
return(1);
}
else
{
if(y>x)
big=y;
return(*);
else
big=z;
return(1);
}
}
To embed this program on your website, copy the following code and paste it into your website's HTML: