#include<stdio.h> int main() { int a, b, t; printf("请输入两个数a,b:\n"); scanf_s("%d%d", &a, &b); if (a > b) { t = a; a = b; b = t; } printf("最大数为%d\n", b); }
本文来自博客园,作者:木子欢儿,转载请注明原文链接:https://www.cnblogs.com/HGNET/p/11806074.html