A+B problem

//1.cpp
//输入A、B,并求A+B的和
#include<iostream>
using namespace std;

int main()
{
	int a,b;
	while(cin>>a)
	{
		cin>>b;
		cout<<a+b<<endl;
	}
return 0;
}

posted on 2012-03-11 22:15  1.曲待续  阅读(94)  评论(0编辑  收藏  举报

导航