the invoice-printing program

Enhance the invoice-printing program by providing for two kinds of line items: One kind describes products that are purchased in certain numerical quantities (such as “3 toasters”), another describes a fixed charge (such as “shipping: $5.00”). Hint: Use inheritance. Produce a UML diagram of your modified implementation.

Leave a Reply

Your email address will not be published. Required fields are marked *