View Code of Problem 111

#include <iostream>
#include <cstdio>
using namespace std;
int main(){
    int A,B;
    while(cin>>A>>B&&A!=0&&B!=0){
        cout<<A+B<<endl;
    }
    return 0;
}

Double click to view unformatted code.


Back to problem 111