Calculate a + b
1 5
6
Use + operator
#include <iostream> using namespace std; int main() { int n,m; while(cin>>n>>m) cout<<n+m<<endl; return 0; }