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

PROGRAMMING:Finding the average of odd numbers

Luz5年前 (2021-05-10)题库500
Enter a number of integers and find the sum of all odd numbers.
###Input format:
Enter a column of data, where the first integer $$n (n / le50) $$represents the total number of data in this column, followed by $$n $$integers.
###Output format:
Output the average of all odd numbers in $$n $$integers, and the output result should be accurate to 3 decimal places.
###Input example:
Here is a set of inputs. For example:
```in
5 6 5 18 -1 7
```
###Output example:
The corresponding output is given here. For example:
```out
three point six six seven
```







answer:If there is no answer, please comment