#include <stdio.h> int main() { int a = 0, b = 0; while (scanf("%d %d", &a, &b) != EOF) { if (a > b) printf("%d>%d\n", a, b);//一定不要忘记换行 else if (a == b) printf("%d=%d\n", a, b);//一定不要忘记换行 else printf("%d<%d\n", a, b);//一定不要忘记换行 } return 0; }
#include <stdio.h> int main() { int a = 0, b = 0; while (scanf("%d %d", &a, &b) != EOF) { if (a > b) printf("%d>%d\n", a, b);//一定不要忘记换行 else if (a == b) printf("%d=%d\n", a, b);//一定不要忘记换行 else printf("%d<%d\n", a, b);//一定不要忘记换行 } return 0; }