标签:printf col style 输入 std can clu include 排列
#include "stdio.h" void main() { int a,b,c,t; scanf("%d%d%d",&a,&b,&c); if(a>b) { t=b; b=a; a=t; } if(a>c) { t=a; a=c; c=t; } if(b>c) { t=b; b=c; c=t; } printf("由小到大顺序为:\n"); printf("%d %d %d\n",a,b,c); }
标签:printf col style 输入 std can clu include 排列
原文地址:https://www.cnblogs.com/zyz322/p/12232459.html