代码
#include<stdio.h>
int main()
{
int x,y,z;
printf("请输入x:");
scanf("%d",&x);
printf("请输入y:");
scanf("%d",&y);
z=x+y;
printf("x和y的和是%d",z);
return 0;
}
#include<stdio.h>
int main()
{
int x,y,z;
printf("请输入x:");
scanf("%d",&x);
printf("请输入y:");
scanf("%d",&y);
z=x+y;
printf("x和y的和是%d",z);
return 0;
}