int main() { char a,b; printf("请输入两个大写字母:"); scanf("%c %c",&a,&b); if(a>b) printf("%c比%c大",a,b); else printf("%c比%c大",b,a); return 0; }