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

PROGRAMMING:Calculate the sum of natural numbers within k that can be divisible by 13 or 17

Luz5年前 (2021-05-10)题库391
Function: calculate the sum of the largest 10 natural numbers within k that can be divided by 13 or 17. If the number is less than 10, only the sum of qualified numbers will be calculated.
###Input format:
Enter an integer k, 1 < K < = 6000.
###Output format:
Output the value of the sum of natural numbers that meet the conditions
###Input sample 1:
```in
two thousand
```
###Output sample 1:
```out
nineteen thousand five hundred and twenty-five
```
###Input sample 2:
```in
five
```
###Output sample 2:
```out
0
```






answer:If there is no answer, please comment