Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Develop a program that reads two arrays from a user and sorts each array. After

ID: 3620022 • Letter: D

Question

Develop a program that reads two arrays from a user and sorts each array. After that merge the two sorted arrays into an array. Note that the merged array should also keep the sorted order properly. In this program, you must use dynamic
arrays. The following shows a sample run of your program:

Enter the size of first array: 5
Enter array content: 33 11 55 66 44
Sorted result: 11 33 44 55 66
Enter the size of second array: 4
Enter array content: 22 88 54 77
Sorted result: 22 54 77 88
Combined sorted array: 11 22 33 44 54 55 66 77 88

I am having trouble using the Dynamic arrays. I guess I am not fully understanding the concept of dynamic arrays. Please Help...

Explanation / Answer

please rate - thanks hope this is good