收起
是否是这意思,供参考:
#include <stdio.h> int main() { int a,b; scanf("%d%d",&a,&b); a > b ? printf("%d %d",b,a):printf("%d %d",a,b); return 0; }
报告相同问题?