Question: the question is in the photo provided 2 D Array Lab Problem 1 : Write a function called Copy 2 D that given 2 different

the question is in the photo provided
2D Array Lab
Problem 1:
Write a function called Copy2D that given 2 different 2D arrays of values and a staring x and y and a
width and height copy the selected values out of the first array and place them into the second array:
Array 1
Array 2
And additionally taking in 1,0,3,2 for the x,Y, Width and Height:
Array 1
Array 2
You may hard code the arrays to be 4 by 4 for this problem. For 10 points bonus however, you will take
1D arrays in (that represent 2D arrays) and you will take 2 additional ints for the number of rows and
column in the arrays.
the question is in the photo provided 2 D Array

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!