Question: Need help with this exercise3 in C++ Exercise 3: This exercise is designed to get you familiar with the list class in STL .. (45
Need help with this exercise3 in C++ 
Exercise 3: This exercise is designed to get you familiar with the list class in STL .. (45 minutes coding) 1. Create an empty integer list 2. Add 1, 3, 5, 7, 9 to the end of the list in sequence 3. Add 2, 4, 6, 8, 10 to the beginning of the list in sequence; at the end of this step, you should have the following elements in the list in sequence: 10,8,6,4,2,1,3,5,7,9 4. Print out the first and last element in the list 5. Remove element "3" from the list 6. Sort the list using the sorting method in List Class, but not the one in 7. Print out the value of each element in the list 8. Remove all "odd" numbers in the list 9. Print out the value of each element in the list
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
