#include<stdio.h> int main() { int a, b, t; printf("请输入两个数a,b: "); scanf_s("%d%d", &a, &b); if (a > b) { t = a; a = b; b = t; } printf("最大数为%d ", b); }