#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c;
clrscr();
printf("Enter any 2 numbers\n");
scanf("%d%d",&a,&b);
if(a>=b)
printf("The result is%d",a);
else
{
if(b>=a)
printf("%d is big",b);
}
printf("Enter any 2 numbers\n");
scanf("%d%d",&a,&b);
if(a<=b)
printf("The result is%d",a);
else
{
if(b<=a)
printf("%d is small",b);
}
getch();
}
No comments:
Post a Comment