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