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

12. Double Merge Modify the NumberList class shown in th is chapter to include a

ID: 3532268 • Letter: 1

Question

12. Double Merge

Modify the NumberList class shown in th is chapter to include a member function

named mergeArray. The mergeArray function should take an array of doubles as its

first argument, and an integer as its second argument. (The second argument will

specify the size of the array being passed into the first argument. )


The function should merge the values in the array into the linked list. The value in

each element of the array should be inserted (not appended) into the linked list. When

the values are inserted, they should be in numerical order. Demonstrate the Junction

with a driver program, When you are satisfied with the function, incorporate it into

the LinkedList template.

Explanation / Answer

Waiting......