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

PROGRAMMING:Calculate the sum of the numbers from 1 to n divisible by 3

Luz5年前 (2021-05-10)题库498
Find the sum of the numbers that can be divided by 3 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
one hundred
```
###Output sample 1:
```out
one thousand six hundred and eighty-three
```
###Input sample 2:
```in
one hundred and one
```
###Output sample 2:
```out
one thousand six hundred and eighty-three
```







answer:If there is no answer, please comment