判断大小 #include<stdio.h> int main() { int a, b; scanf_s("%d%d", &a, &b); if (a >= b) printf("最大为=%d\n", a); else printf("最大为=%d\n", b); return 0; }