有个东西不会做 我用的是c# 请各位高人谁指点一下
make these three arrays:
int [] odd={5,1,17,3,11,15,31};
int [] even={16,4,18,36,26,10,12};
int [] arr= new int [14];
use a loop to alternately copy from the first two arrays, odd and even, into the third one,arr.
then reverse arr, don't simply print in reverse, but actually physically reverse it without copying the data,in reverse, into another array. don't make a 4th array.
就这么多 跪求此题答案 请各位会c语言的大哥帮忙看一下 小弟感激不尽!
make these three arrays:
int [] odd={5,1,17,3,11,15,31};
int [] even={16,4,18,36,26,10,12};
int [] arr= new int [14];
use a loop to alternately copy from the first two arrays, odd and even, into the third one,arr.
then reverse arr, don't simply print in reverse, but actually physically reverse it without copying the data,in reverse, into another array. don't make a 4th array.
就这么多 跪求此题答案 请各位会c语言的大哥帮忙看一下 小弟感激不尽!