# Answer to Question #21389 in C++ for ahmed

Question #21389

Write a C++ code that implements two linked lists (L1, L2) that contain double elements, and then do the following:

1. Implement the necessary member functions.

2. Implement a function Intersection(…) that displays the intersection of the two lists.

Input: L1= 1, 2, 3, 4, 5 L2= 2, 10, 5

Output: Intersection= 2, 5

3. Implement a function Union(…) that displays the union of the two lists.

Input: L1= 1, 2, 3, 4, 5 L2= 2, 10, 5

Output: Union= 1,2,3,4,5,10

4. Implement a function Difference(…) that displays the difference between the two lists.

Input: L1= 1, 2, 3, 4, 5 L2= 2, 10, 5

Output: L1-L2= 1, 3, 4

1. Implement the necessary member functions.

2. Implement a function Intersection(…) that displays the intersection of the two lists.

Input: L1= 1, 2, 3, 4, 5 L2= 2, 10, 5

Output: Intersection= 2, 5

3. Implement a function Union(…) that displays the union of the two lists.

Input: L1= 1, 2, 3, 4, 5 L2= 2, 10, 5

Output: Union= 1,2,3,4,5,10

4. Implement a function Difference(…) that displays the difference between the two lists.

Input: L1= 1, 2, 3, 4, 5 L2= 2, 10, 5

Output: L1-L2= 1, 3, 4

Expert's answer

Unfortunately, your question requires a lot of work and cannot be done for free.

Submit it with all requirements as an assignment to our control panel and we'll assist you.

Submit it with all requirements as an assignment to our control panel and we'll assist you.

Need a fast expert's response?

Submit orderand get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

## Comments

Assignment Expert25.01.13, 11:43Please submit your assignment to our control panel and you'll get price estimation depending on complexity

of the task and the deadline. If you have further questions please fill free to ask them. You can contact

us via info@assignmentexpert.com or use live chat on this website

Ahmed Almazrouei31.12.12, 17:32what is the cost for one assignment of ecnomics?

and when do we have to pay?

## Leave a comment