Ans :
#include<stdio.h>
int main()
{
int a,b,c;
printf("Enter the three numbers : ");
scanf("%d %d %d",&a,&b,&c);
if(a>b)
{
if(a>c)
printf("the bigger number is :%d",a);
else
printf("the bigger number is :%d",c);
}
else
{
if(b>c)
printf("the bigger number is :%d",b);
else
printf("the bigger number is :%d",c);
}
return 0;
}
Input :
Output :
Comments
Post a Comment