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

PROGRAMMING:1-5. Input integer, calculate and output the result of addition

Luz5年前 (2021-05-10)题库337
Write a program to read an integer like the one on the right, and display the result after adding 12 to the integer【 See input / output example]
```
Please enter an integer: 57 (enter)
The result of adding 12 to this integer is 69.
```
###Input format:
Enter an integer after the output prompt and press enter. For example: 57 (enter).
###Output format:
1. Output prompt information first and wait for user input. For example, please enter an integer:
2. Wait for user input
3. Output the sum of this integer and 12. For example, the result of adding 12 to this integer is 69.
###Input example:
```in
57 [Enter]
```
###Output example:
```out
Please enter an integer: the result of this integer plus 12 is 69.
```







answer:If there is no answer, please comment