Implement class MailOrderSale, derived from class Sale (source code below sale.h
ID: 3794054 • Letter: I
Question
Implement class MailOrderSale, derived from class Sale (source code below sale.h and sale.cpp) This class has a private member mShippingHandling of type double that represents a percentage of the price added for shipping and handling. Implement constructor, accessor and mutator functions and override function bill(). The bill() function returns the price times the percentage in private member mShippingHandling plus $0.50 (create a constant for this value). Use this class by creating an instance with the values $9.00 for price and 0.05 for percentage of shipping and handling and compare with the instance simple.
------------------------------------------------------
-----------------------------------------------------------------------------
----------------------------------------
Explanation / Answer
-----------------------------------------------------------------------------
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.