#include<stdio.h>main(){ int a,b,c; printf("\n请输入三位数字:"); scanf("%d%d%d",&a,&b,&c); /*改为scanf("%d,%d,%d",&a,&b,&c);不知为何会出错*/ printf("\na=%3d,b=%3d,c=%3d\n",a,b,c);}