What is the output of the following:

Take input a=547, b=537,c=457,d=588,e=489

#includestdio.h
int main()
{
int a,b,c,d,e,f;
printf("enter a,b,c,d and e:");
scanf("%d%d%d%d%d%d",&a,&b,&c,&d,&e,&f);
if(ab&&ac&&ad&&ae&&af)
{
printf("max is %d",a);
}
else if(bc&&bd&&b&&e&&bf)
{
printf("max is %d",b);
}
else if(cd&&ce&&cf)
{
printf("max is %d",c);
}
else if (de&&df)
{
printf("max is %d",d);
}
else
printf("max is %d",e);
return 0;
}

Posted on by