#include
int main()
{
int a,b,c;
printf("\n Please Enter the 3 numbers: ");
scanf("%d %d %d",&a,&b,&c);
if(a-b>0 && a-c>0)
printf("\n Greatest is a :%d",a);
else
if(b-c>0)
printf("\n Greatest is b :%d",b);
else
printf("\n Greatest is c :%d",c);
return 0;
}
No comments:
Post a Comment