1 #include <stdio.h> 2 int main() 3 { 4 int a,b; 5 while(scanf("%d %d",&a,&b)){ 6 if(a==0&&b==0)return 0; 7 else printf("%d ",a+b); 8 } 9 return 0; 10 }
1 #include <stdio.h> 2 int main() 3 { 4 int a,b; 5 while(scanf("%d %d",&a,&b)){ 6 if(a==0&&b==0)return 0; 7 else printf("%d ",a+b); 8 } 9 return 0; 10 }