#include <iostream> using namespace std; int a,b; int main() { while (cin>>a>>b;) cout<<a+b<<endl; }
2 3 4 5
prog.cpp: In function ‘int main()’: prog.cpp:9:18: error: expected ‘)’ before ‘;’ token while (cin>>a>>b;) ^ prog.cpp:9:19: error: expected primary-expression before ‘)’ token while (cin>>a>>b;) ^
Standard output is empty