#include<stdio.h>
int main()
{
int a,b,sum;
printf("请输入两个整数:");
scanf("%d%d",&a,&b);
sum=a+b;
printf("%d+%d的值为%d\n",a,b,sum);
return 0;
}
07-24
4505
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
#include<stdio.h>
int main()
{
int a,b,sum;
printf("请输入两个整数:");
scanf("%d%d",&a,&b);
sum=a+b;
printf("%d+%d的值为%d\n",a,b,sum);
return 0;
}