#include<stdio.h>
#include<conio.h>
main()
{
int a,b;
clrscr();
printf("\n enter the two number=");
scanf("\n %d%d",&a,&b);
if(a>b)
printf("\n greatest number=%d",a);
else
printf("\n greatest number=%d",b);
getch();
}
output:-enter the two number=12
54
greatest number=54
No comments:
Post a Comment