C++ :
#include <iostream> using namespace std; int main(){ int a,b; while(cin >> a >> b) cout << a+b << endl; return 0; }
Pascal :
var a,b:integer; begin readln(a,b); writeln(a+b); readln; end.
使用您的 www.mathcoding.online 通用账户