#include<stdio.h> void main() { int A,B; while(scanf("%d %d",&A,&B)&&A>0&&B>0) { printf("%d\n",A+B); } }
Double click to view unformatted code.