Write a code that merges two sorted arrays so that the


Write a code that merges two sorted arrays so that the result is a sorted array. In your code, declare an array called ‘A1’ of size 5 and an array ‘A2’ of size 5. Fill them with numbers that are in ascending order.

Write a code that merges the two arrays in an array called ‘A’ of size 10 so that ‘A’ contains all the numbers in ascending order. This is a sample output.

A1: 1 3 5 7 8

A1: 2 4 6 9 10

Array: 1 2 3 4 5 6 7 8 9 10

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Write a code that merges two sorted arrays so that the
Reference No:- TGS0954232

Expected delivery within 24 Hours