程序代码:
#include "stdio.h" main() { int a,b,sum; printf("Please input:\na="); scanf("%d",&a); printf("Please input:\nb="); scanf("%d",&b); sum=a+b; printf("the sum is=%d\n",sum); getch(); }
#include "stdio.h" main() { int a,b,sum; printf("Please input:\na="); scanf("%d",&a); printf("Please input:\nb="); scanf("%d",&b); sum=a+b; printf("the sum is=%d\n",sum); getch(); }
[此贴子已经被作者于2015-11-16 13:55编辑过]