Description
Calculate a + b.
Input
Two integer a, b (0 <= a, b <= 10).
Output
Output a + b.
Sample
Input
1 2
Output
3
#include<stdio.h>
int main()
{
int a,b,sum;
scanf("%d %d",&a,&b);
sum=a+b;
printf("%d",sum);
return 0;
}
运行结果
1 2
3
Process returned 0 (0x0) execution time : 3.009 s
Press any key to continue.