编辑代码

#include <stdio.h>
int add(int a,int b)
{
return a+b;
}
int main()
{int a,b,c;
scanf("%d,%d",&a,&b);
c=add(a,b);
printf("%d",c);
return 0;
}