Question: 3 0 . 1 6 LAB * : Program: Online shopping cart ( Part 2 ) This program extends the earlier Online shopping cart (
LAB: Program: Online shopping cart Part This program extends the earlier "Online shopping cart Part program. Consider first saving your earlier program Step : Extend the ItemToPurchase class to contain a new attribute. pts itemdescription string Initalized in default constructor to "none" Implement the following method for the ItemToPurchase class. printitemdescription Prints itemdescription attribute for an ItemToPurchase object. Ex of printitemdescription output: Bottled Water: Deer Park, oz Step : Build the ShoppingCart class with the following data attributes and related methods. Parameterized constructor which takes the customer name and date as parameters pts Attributes customername string Initi
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
