两个数加法,一旦运算就会停止运行--,求好心人解答
#include<stdio.h>
int main()
{
int x,y,z;
printf("input x");
scanf("%d",&x);
printf("input y");
scanf("%d",y);
z=x+y;
printf("sum of %d and %d is %d\n",x,y,z);
return 0;
}
#include<stdio.h>
int main()
{
int x,y,z;
printf("input x");
scanf("%d",&x);
printf("input y");
scanf("%d",y);
z=x+y;
printf("sum of %d and %d is %d\n",x,y,z);
return 0;
}
2016-03-01
举报