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

PROGRAMMING:The sum of the numbers in an array divisible by 5

Luz5年前 (2021-05-10)题库542
There are 10 integers in a one-dimensional array. Find the sum of all the integers that can be divided by 5.
###Input format:
Enter 10 integers in a row, with a space between the data.
###Output format:
Output the result directly without any additional characters.
###Input example:
```in
5 6 8 15 98 45 71 2 3 1
```
###Output example:
```out
sixty-five
```






answer:If there is no answer, please comment