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