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

PROGRAMMING:Summation of sequence

Luz5年前 (2021-05-10)题库400
Enter a number to find the sum of 1 and this number
###Input format:
A positive integer n, processing to the end of the file.
###Output format:
Find the sum of 1 + 2 + 3... + n.
###Input example:
Here is a set of inputs. For example:
```in
four
```
###Output example:
The corresponding output is given here. For example:
```out
ten
```







answer:If there is no answer, please comment