Program to create new array by replacing each element of the original array with sum of next two element.
Answers
Answered by
0
Answer:
please refer to the image attached.
Assumption I made : I dont know if that's what the question is asking, but I took first element of the array as next element to the last element of the array.
Attachments:
Similar questions