程序会崩,求解决(从小到大排三位数)
#include<stdio.h>int main()
{
int a,b,c,d;
printf("请输入三个整数:");
scanf("%d,%d,%d",a,b,c);
if(a>b&&a>c&&b>c){printf("%d,&d,&d",a,b,c);}
if(a>b&&a>c&&c>b){printf("%d,%d,%d",a,c,b);}
if(a<=b&&b<=c){printf("%d,%d,%d",a,b,c);}
if(a<=b&&b>c&&a>c){printf("%d,%d,%d",b,a,c);}
if(a<=b&&b>c&&a<=c){printf("%d,%d,%d",b,c,a);}
return 0;
}