Question: HAS TO BE IN C++ FORM! Create two linked lists each having ten nodes..the first list has a pointer called UNO to the first node

HAS TO BE IN C++ FORM! Create two linked lists each having ten nodes..the first list has a pointer called UNO to the first node and the second list has a pointer called DUO to the first node. The lists are to be sorted as you create them. The data in the lists will consist of a last name and age Print out each sorted list after you create them..then delete all nodes from the FIRST list whose age is over 40and delete all nodes from the second list whose age is under 50. Print out both Finally..merge the REMAINING nodes from both lists into one list..headed by first. Print out the final list.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!