This program illustrates the splice() member function for list objects. Press Enter to continue ... First we illustrate the splicing of an entire second list into a first list. Press Enter to continue ... For the first list we have: Size = 7 Contents: 1 1 1 1 1 1 1 Press Enter to continue ... For the second list we have: Size = 5 Contents: 2 2 2 2 2 Press Enter to continue ... Now we splice the second list into the first list just before the third value. Press Enter to continue ... After the splice, for the first list we have: Size = 12 Contents: 1 1 2 2 2 2 2 1 1 1 1 1 Press Enter to continue ... And for the second list we now have: Size = 0 Contents: Press Enter to continue ... Next we illustrate the splicing of a single value from a second list into a first list. Press Enter to continue ... For the first list we have: Size = 7 Contents: 2 1 4 3 7 6 5 Press Enter to continue ... For the second list we have: Size = 5 Contents: 25 22 29 23 21 Press Enter to continue ... Now we splice the 4th value from the second list into the first list just before the 6th value. Press Enter to continue ... After the splice, for the first list we have: Size = 8 Contents: 2 1 4 3 7 23 6 5 Press Enter to continue ... And for the second list we now have: Size = 4 Contents: 25 22 29 21 Press Enter to continue ... Finallly we illustrate the splicing of a range of values from a second list into a first list. Press Enter to continue ... For the first list we have: Size = 7 Contents: 1 2 3 4 5 6 7 Press Enter to continue ... For the second list we have: Size = 8 Contents: 21 22 23 24 25 26 27 28 Press Enter to continue ... Now we splice the 3rd to 7th values from the second list into the first list just before the 5th value. Press Enter to continue ... After the splice, for the first list we have: Size = 12 Contents: 1 2 3 4 23 24 25 26 27 5 6 7 Press Enter to continue ... And for the second list we now have: Size = 3 Contents: 21 22 28 Press Enter to continue ...