作业帮 > 英语 > 作业

Description:

来源:学生作业帮 编辑:拍题作业网作业帮 分类:英语作业 时间:2024/05/01 13:02:34
Description:
Calculate a + b
Input:
The input will consist of a series of pairs of integers a and b,separated by a space,one pair of integers per line,0 0 means the end of the input,and do not need to output.
Output:
For each pair of input integers a and b you should output the sum of a and b in one line,and with one line of output for each line in input.
Sample Input:
1 5
0 0
Sample Output:
说明:计算1 + B输入:输入一个整数,将包括一系列的对A和B,由一个空格隔开,对每一条线的整数,0 0表示输入结束的,并且不需要输出.输出:对于每个输入整数对a和b你应该输出0输出样本的总和a和b在同一行,0和5一输出线中的每一行输入.范例输入:15 0 0
范例输出.