ACM STEP 1.1.3A+B for Input-Output Practice (III)

#include <iostream>
using namespace std;
int main(int argc, const char * argv[])
{
    int a,b;
    while(cin >>a>>b)
    {
        if(a==0&&b==0) break;
        cout <<a+b<<endl;
    }
    return 0;
}


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章