Input Each line will contain two integers A and B. Process to end of file.
Output For each case, output A + B in one line.
Sample Input 1 1
Sample Output 2
Author HDOJ
Recommend We have carefully selected several similar problems for you: 1089 1090 1091 1092 1093
1 #include<stdio.h> 2 int main() 3 { 4 int a,b; 5 while(scanf("%d%d",&a,&b)!=EOF) 6 printf("%d\n",a+b); 7 return 0; 8 }