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

PROGRAMMING:Finding odd sum

Luz5年前 (2021-05-10)题库429
This problem requires computing the sum of odd numbers in a given series of positive integers.
###Input format:
Input gives a series of positive integers on a line, separated by spaces. When zero or negative integer is read, it means the end of input, and the number should not be processed.
###Output format:
Output the sum of odd numbers in a sequence of positive integers on one line.
###Input example:
```in
8 7 4 3 70 5 6 101 -1
```
###Output example:
```out
one hundred and sixteen
```






answer:If there is no answer, please comment