Question: Given two array a1 = {1,3,5,7,9) and a2 = {0, 2, 4, 6, 8}, add each element in the same position from al and a2
Given two array a1 = {1,3,5,7,9) and a2 = {0, 2, 4, 6, 8}, add each element in the same position from al and a2 and store the results in a new array a3. Then, link the a3 and a2 to the end of a1. The output of new array a1 should be looked like: a1+3+a2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
