// <img src="http://img.blog.csdn.net/20150423113342974?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvemhhb3lhcWlhbjU1Mg==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt="" /> #include <stdio.h> int main() { int a,b,c; printf("请输入两个整数:\n"); scanf("%d %d",&a,&b); c = a + b; printf("两个整数之和是:%d\n",c); return 0; }
时间: 2024-10-27 20:28:24