problem description
- calculate A+B
input
- each line will contain two integers A and B. process to end of lfile
output
- for each case , output A+B in one line
sample input
- 1 1
sample output
- 2
code
#include<stdio.h>
int main()
{
int a,b;
while(scanf("%d%d",&a,&b)!=EOF)
{
printf("%d\n",a+b);
}
return 0;
}