Create three arrays of 20 integers each. Fill in two arrayswith data, leaving th
ID: 3618975 • Letter: C
Question
Create three arrays of 20 integers each. Fill in two arrayswith data, leaving the third blank. From main, pass thesethree arrays into a function. Inside the function, add the value ofeach array element and store it in the third.third_array[i] = second_array[i]+ first_array[i]
Back in main, print out the value of every element in thethird/sum array. Excellent output on this assignment might showsomething like:
Array 1 + Array 2 = Array 3 5 + 3 = 8 10 + 4 = 14 etc third_array[i] = second_array[i]+ first_array[i] Array 1 + Array 2 = Array 3 5 + 3 = 8 10 + 4 = 14 Array 1 + Array 2 = Array 3 5 + 3 = 8 10 + 4 = 14