Addition
Specification
- The program will repeat the follow actions
5 times.
- In each iteration, the program
- prompts the user to input two integers
- outputs the summation of these two integers
- Hint: Use the for-loop in Chapter 1
and eval(input()) functions mentioned in Chapter 2.
The program may run as follows:
A = 1
B = 2
3
A = 2
B = 3
5
A = 12
B = 5
17
A = 16
B = 7
23
A = 38
B = 49
87