(Solved):Create a program with the following. Design a class called ItemToPurchase. This class has the following attributes: item_name, item_price, and item_quanity. The ItemToPurchase class should have met… View Answer…

 

Question

Create a program with the following.

Design a class called ItemToPurchase. This class has the following attributes: item_name, item_price, and item_quanity.

The ItemToPurchase class should have methods to return the current values of these attributes. In addition, this class has a method get_item_cost to return the cost of this item (which is the product of item_price and item_quantity).

Design a class called Customer.

This class has the following attributes: customer_name, shopping_date, and shopping_cart. The

Scroll to top