Question: Write a C++ program to implement a list containers using the Standard Template Library (STL). 1. Implement four lists using the STL library. 2. Load
Write a C++ program to implement a list containers using the Standard Template Library (STL).
1. Implement four lists using the STL library. 2. Load the first list with Assignment02.data1 (under files->assignment02) 3. Load the second list with Assignment02.data2 (under files->assignment02) 4. Add the corresponding list elements of first and second lists (same positions) and store it in the (same positions) third list 5. Multiply the corresponding list elements of first and second lists (same positions) and store it in the (same positions) fourth list 6. Output the sum of the elements of each list (first, second, third and fourth)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
