View Code of Problem 1

#include<iostream>
using namespace std;
main()
{
	int a,b;
	while((cin>>a>>b)!=0)
		cout<<a+b<<endl;
}

Double click to view unformatted code.


Back to problem 1