A program to merge two integer arrays into a third array with alternate elements from the first and second array respectively. Your program should do the following: a. Input size of 2 arrays b. Input the array elements c. Write a loop structure to copy elements into a third array in an alternate fashion d. Print the merged array Note: If one array is extinguished, continue to copy the remaining elements of the other array Example: size1 = 3 size2 = 4 array1 = {2,3,5}; array2 = {1,8,3,0}; array3 = {2,1,3,8,5,3,0} output 2138530
Get Free Quote!
389 Experts Online