void main(){ char buffer[256],*p; int a,b,c,d; scanf("%s",buffer); p=buffer; sscanf(p,"%d",&a); while ( (*p)>='0' && (*p)<='9' ) p++; sscanf(p+5,"%d,%d",&b,&c); d=a+b+c; printf("%d+%d+%d=%d\n",a,b,c,d);} ...