Skip to main content

7.2) Exercise 12


  1. Copy your Exercise 11 solution to a new file. Modify this new program so that it uses a list instead of a vector. This should be as simple as globally replacing vector with list!
  2. Check that the program compiles and that it behaves as in Exercise 11.