1. Refactor the Video Software by replacing the Price class hierarchy with the two classes described in the Discussion about Software Engineering & Refactoring (shown here). Note: I’ve in-lined all the C++ code to make it very similar to the corresponding Java code, so that it will be easier for students that know Java, but not C++. (Note: shared_ptr is a safe pointer that prevents memory loss. Java has built-in automatic garbage collection so doesn’t need.)
2. Add a Class that Manages the Inventory (including managing rental categories).