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

PROGRAMMING:Array summation

Luz5年前 (2021-05-10)题库335
Apply for an integer array of 10 cells, input 10 integers, add 2 to odd cells, multiply 2 to even cells, and finally sum
###Input format:
Enter 10 integers separated by spaces
###Output format:
Sum of 10 integers after processing
###Input example:
Here is a set of inputs. For example:
```in
1 2 3 4 5 6 7 8 9 10
```
###Output example:
The corresponding output is given here. For example:
```out
ninety
```







answer:If there is no answer, please comment