Help solve the problem.
Given two arrays of the same length (10 elements each). Create a third array that will display the sum of the first two arrays. The first element of the third array is equal to the sum of the first elements of the first two arrays, and so on.