我这个比较简单#include"stdio.h"main{int a,b,c; scanf("%d %d",&a,&b); if(a>b){c=b;b=a;a=c;} printf("%d,%d",a,b);}
#include"stdio.h" void mian(){ int a,b; int m,n; printf("please input the number: \n"); scanf("%d%d",&a,&b); m=n=a; if(a>b) m=b; else n=b; printf("%d%d"\n,m,n);}