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

PROGRAMMING:Assign values of elements with even subscripts to array n

Luz5年前 (2021-05-10)题库378
Input the value of 10 elements from the keyboard and store it into one-dimensional array m, then assign the element value with subscript (0.2.4.6.8) to array n, and finally output the content of array n.
###Input format:
Enter 10 integers in a row, with a space between the data.
###Output format:
Output the results directly in one row, and each data output takes up 4 columns.
###Input example:
```in
1 4 7 8 5 2 6 9 3 1
```
###Output example:
```out
1 7 5 6 3
```






answer:If there is no answer, please comment