Problem Description
Calculate A + B.
Input
Each line will contain two integers A and B. Process to end of file.
Output
For each case, output A + B in one line.
Sample Input
1 1
Sample Output
2
问题简述
输入两个整型A、B,并对其进行求和运算。
要求:输入时每行包括A、B,输出时一组结果一行。
问题分析和程序说明
用while语句实现循环,用endl实现结果输出的换行操作。
AC通过语言如下