求2个整数之和。
Input
输入有若干行,每行2个整数a,b,当a,b同时为0时输入结束。
Output
每行对应输出一个a+b之和,a,b同时为0时不用输出。
Sample Input
1 2
3 4
5 6
0 0
Sample Output
3
7
11
#include<stdio.h>
int main()
{
int a,b;
while(scanf("%d %d",&a,&b)!=EOF)
{
if(a==0&&b==0)
break;
printf("%d/n",a+b);
}
return 0;
}