#include<stdio.h>
#include<conio.h>
main()
{
int a,b;
clrscr();
printf("Enter numbers...");
scanf("%d%d",&a,&b);
if(a>b)
printf("a is greater than b");
else if(b>a)
printf("b is greater than a");
else
printf("both are equal");
getch();
}
there is an error in the 12th line it is not b greater than b it is b greater than a
Hi soumya, thanks for bringing this to notice. we have got this rectified.