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

PROGRAMMING:Find the sum of the numbers from 1 to n which can be divided by 7

Luz5年前 (2021-05-10)题库419
Find the sum of the numbers that can be divided by 7 from 1 to positive integer n, and wrap the output line.
###Input format:
Enter a positive integer.
###Output format:
Output the result and wrap it.
###Input sample 1:
```in
ninety-nine
```
###Output sample 1:
```out
seven hundred and thirty-five
```
###Input sample 2:
```in
one hundred and seven
```
###Output sample 2:
```out
eight hundred and forty
```






answer:If there is no answer, please comment