-->
当前位置:首页 > 题库

PROGRAMMING:Another view of small Y Series A + B

Luz5年前 (2021-05-10)题库390
A + B is too simple. It's not difficult at all. But how about a lot of groups of a + B? Think about it. I believe it's not hard for you to be smart
###Input format:
There are several groups of input data, each group has two numbers a and B,
###Output format:
Output a + B, each result occupies one line.
###Input example:
```in
2 3
4 5
-1 6
-1 -6
```
###Output example:
```out
five
nine
five
-7
```
###Tips
Small y prompt @:
How to input multiple sets of data? In fact, the while() loop can solve this problem very well. Let's think about it. How to use while()? O(∩_ In addition, baidu uses scanf. Specific reference question 1001 (need intranet)( http://121.192.17.36 :8080/acmhome/problemdetail.do?& method=showdetail&id=1001






answer:If there is no answer, please comment