Escolar Documentos
Profissional Documentos
Cultura Documentos
For this homework assignment, you will be writing software for a Dessert Shoppe which sells candy by the pound,
cookies by the dozen, ice cream, and sundaes (ice cream with a topping). Your software will be used for the checkout
system.
To do this, you will implement an inheritance hierarchy of classes derived from a Dessert Item super class.
The Candy, Cookie, and Ice-cream classes will be derived from the Dessert Item class.
You will also write a Checkout class which maintains array list of Dessert Item’s.
Now what the customer will do, he will enter dessert items into the cart, add/remove food item from the cart, get the
number of items, gets the sub total cost of the items, and in last you have to display the total bill of customer. Customer
can also search through the items on the basis of price name and category. Write appropriate classes and methods using
OOP concepts studied in the class.
Submisssion Rules:
Hint:
Following is the GUI app which will help you in understanding the flow of the program and data members of the classes.
Convert this GUI into console
Note: For any queries, contact within 2 days after the assignment is uploaded
Good Luck.