main()
{
int?a,b;
printf("Enter?two?intergers,?and?I?will?tell?you\n");
printf("the?relationshils?they?sctisfy:\n");
scanf("%d?%d",&a,&b);
if(a==b)printf("%d?is?equal?to?%d\n",a,b);
if(a!=b)printf("%d?is?not?equal?to?%d\n",a,b);
if(a<b)?printf("%d?is?less?than?%d\n",a,b);
if(a>b)?printf("%d?is?greater?than?%d\n",a,b);
if(a<=b)printf("%d?is?less?than?or?equeal?to?%d\n",a,b);
if(a>=b)printf("%d?is?greater?than?or?equeal?to?%d\n",a,b);
}
如圖所示,望采納。。。。。。