Write application for ninas cookie emporium named cookiedemo


Problem

Write an application for Nina's Cookie Emporium named CookieDemo that declares and demonstrates objects of the CookieOrder class and its descendants. The CookieOrder class includes the following auto-implemented properties:

1) OrderNum - The order number
2) Name - The recipient's name
3) CookieType - The cookie type (for example, chocolate chip)

The class should also include fields for number of dozens ordered and price (named Dozens and Price). When the field value for number of dozens ordered is set, the price field is set as $15 per dozen for the first two dozen and $13 per dozen for each dozen over two.

Next, create a child class named SpecialCookieOrder, which includes a field with a description as to why the order is special (for example, gluten-free). Override the method that sets a CookieOrder's price as described in the step above, but also to include special handling, which is $10 for orders up to $40 and $8 for higher-priced orders.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write application for ninas cookie emporium named cookiedemo
Reference No:- TGS03245761

Expected delivery within 24 Hours