View Code of Problem 113

#include <iostream>

using namespace std;

int main(){
    int A,B;
    while(cin>>A>>B&&A>0&&B>0){
        int sum=0;
        sum=A+B;
        cout<<sum<<endl;
        cout<<endl;
    }
    return 0;
}

Double click to view unformatted code.


Back to problem 113