A+B

题目描述:

Calculate a+b

Description

Two integer a,b (0<=a,b<=10)

Input

Output a+b

Output

Sample Input 1 2


Sample Out 3
代码:
#include<stdio.h>
int main(){
inta,b;
while(scanf("%d%d",&a,&b)!=EOF)
{
printf("%d\n",a+b);
}
return 0;
}
posted @ 2015-03-14 14:38  殇林  阅读(122)  评论(0编辑  收藏  举报