程序代码:#include <stdio.h>
int main()
{
int a,b,c,sum;
printf("please three integer: \n");
scanf("%d,%d,%d",&a,&b,&c);
sum=a+b+c;
printf("sum;%d\n",sum);
return 0;
}
/*
please three integer:
1,2,3
sum;6
请按任意键继续. . .
*/请和你的代码详细对比一下