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

PROGRAMMING:Addition within 100

Luz5年前 (2021-05-10)题库375
Xiao Ming is just in the first grade of primary school. His math teacher has just taught him how to add integers up to 100. In his mid-term test, the math teacher came up with a problem, which is to find the sum of all integers between two integers, including the boundary integer value. Is Xiao Ming very difficult? Now I want you to program to help Xiao Ming solve the problem.
###Input format:
Enter two boundary integer values m, n (1 < = m < = n < = 100) in a row, separated by spaces.
###Output format:
Output the sum of all integers from m to N on one line.
###Input example:
```in
2 7
```
###Output example:
```out
twenty-seven
```






answer:If there is no answer, please comment