【题目】宏#define命令练习(3)
#define LAG >
#define SMA <
#define EQ ==
#include <stdio.h>
int main()
{
int i,j;
printf("Please input two numbers\n");
scanf("%d %d",&i,&j);
if(i LAG j)
printf("%d larger than %d \n",i,j);
else if(i EQ j)
printf("%d equal to %d \n",i,j);
else if(i SMA j)
printf("%d smaller than %d \n",i,j);
else
printf("No such value.\n");
return 0;
}
![](https://img-my.csdn.net/uploads/201304/11/1365680111_5881.png)