#include <stdio.h>
int Sum(int x,int y);
int main()
{
int a,b,s;
printf("请输入两个整数:");
scanf("%d%d",&a,&b),
s=Sum(a,b);
printf("两个整数和是:%d",s);
}
int Sum(int x,int y)
{
int z;
z=x+y;
return z;
}
#include <stdio.h>
int Sum(int x,int y);
int main()
{
int a,b,s;
printf("请输入两个整数:");
scanf("%d%d",&a,&b),
s=Sum(a,b);
printf("两个整数和是:%d",s);
}
int Sum(int x,int y)
{
int z;
z=x+y;
return z;
}