#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c;
clrscr();
printf("\n enter the value of a");
scanf("\n %d",&a);
printf("\n enter the value of b");
scanf("\n %d",&b);
printf("\n enter the value of c");
scanf("\n %d",&c);
if(a>b&&a>c)
{
printf("\n a is grater");
}
else
{
printf("\n c is greater");
}
if(b>a&&b>c)
{
printf("\n b is greater");
}
getch();
}
#include<conio.h>
void main()
{
int a,b,c;
clrscr();
printf("\n enter the value of a");
scanf("\n %d",&a);
printf("\n enter the value of b");
scanf("\n %d",&b);
printf("\n enter the value of c");
scanf("\n %d",&c);
if(a>b&&a>c)
{
printf("\n a is grater");
}
else
{
printf("\n c is greater");
}
if(b>a&&b>c)
{
printf("\n b is greater");
}
getch();
}