#include<stdio.h>
int main()
{
int a,b,c;
printf("Enter Three Numbers:\n");
scanf("%d%d%d",&a,&b,&c);
if(a>b && a>c)
{
printf("Greatest Integer = %d",a);
}
if(b>a && b>c)
{
printf("Greatest Integer = %d",b);
}
if(c>a && c>b)
{
printf("Greatest Integer = %d",c);
}
return 0;
}
Note: Need to be arranged in compiler after copied
OutPut:
Enter Three Numbers:
3
6
9
Greatest Integer = 9