ZCMU_A+B

题目要求:

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.

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 2

Sample Output

3



最为基础的一项编程,主要是熟悉编程的过程。

#include

int main()                                        主函数
{                        
    int a,b,c;                                       输入a,b,c三个参数

scanf("%d%d",&a,&b);           定义a,b

c=a+b;                                     定义c
printf("%d\n",c);
return 0;

}


你可能感兴趣的:(ZCMU_A+B)