int sum(int x,int,y){int z;z=x+y;return z;} int main(){int a,b,c;scanf("%d,%d,%d",a,b,c);printf("%d\n",sum(sum(a,b),c));return 0;} 仅供参考