#include&lt;iostream.h&gt;<br>void main()<br>{<br>int a, b, c=0;<br>printf("请输入两个整数:");<br>scanf("%d", &a);<br>scanf("%d", &b);<br>c= a+b;<br>printf("a的值是%d \n b的值是%d \n c的值是%d",a,b,c);<br>}