#include
void main()
{
int x,y,s;
scanf("% d% d",&x,&y);
s= add(x,y);
printf("result= % d\n",s);
getch();//所在头文件是conio.h
}
int add(int a,int b);//这里多了个分号吧
{
int total;
total=a+b;
return total;
}