#include
#include
void main()
{
int a,b,c;
clrscr();
printf("Enter three number:");
scanf("%d%d%d",&a,&b,&c);
if(a>b&&a>c)
printf("\nThe large number is=%d",a);
else if(b>a&&b>c)
printf("\nThe large number is=%d",b);
else
printf("\nThe large number is=%d",c);
if(a
printf("\nThe small number is=%d",a);
else if(b
printf("\nThe small number is=%d",b);
else
printf("\nThe small number is=%d",c);
getch();
}
0 comments:
Post a Comment