1 #include <stdio.h>
2 #define EQU ==
3 #define LAG >
4 #define SMA <
5
6 int main()
7 {
8 int i=10,j=9;
9
10 scanf("%d",&i);
11
12 while(1)
13 {
14 if(i EQU j)
15 {
16 printf("==\n");
17 }
18
19 else if(i LAG j)
20 {
21 printf(">\n");
22 }
23
24 else
25 {
26 printf("< \n");
27 }
28
29 scanf("%d",&i);
30
31 }
32
33 return 0;
34 }
摘自 zhengmian