PROGRAMMING:For loop exercise: find the cumulative sum of 1 to X and output the result value directly.
From the keyboard input data within 100 data X (x for general, variable name custom) output 1 to x sum.
###Input format:
X is a positive integer within 100.
###Output format:
Output the result of 1 + 2 + 3 +... X.
###Input example:
Here is a set of inputs. For example:
```in
five
```
###Output example:
The corresponding output is given here. For example:
```out
fifteen
```
answer:If there is no answer, please comment
###Input format:
X is a positive integer within 100.
###Output format:
Output the result of 1 + 2 + 3 +... X.
###Input example:
Here is a set of inputs. For example:
```in
five
```
###Output example:
The corresponding output is given here. For example:
```out
fifteen
```
answer:If there is no answer, please comment