// Compiler : Dev-C++ 4.9.9.2
#include<stdio.h>
int main()
{
int a,b,c;
printf("A : ");
scanf("%d",&a);
printf("B : ");
scanf("%d",&b);
printf("C : ");
scanf("%d",&c);
if((a>b) && (a>c))
printf("\n\n%d Is Greater",a);
else if(b>c)
printf("\n\n%d Is Greater",b);
else
printf("\n\n%d Is Greater",c);
getch();
return 0;
}
#include<stdio.h>
int main()
{
int a,b,c;
printf("A : ");
scanf("%d",&a);
printf("B : ");
scanf("%d",&b);
printf("C : ");
scanf("%d",&c);
if((a>b) && (a>c))
printf("\n\n%d Is Greater",a);
else if(b>c)
printf("\n\n%d Is Greater",b);
else
printf("\n\n%d Is Greater",c);
getch();
return 0;
}
Post a Comment