Project 6 will add additional features to the code from Project 5 code. We will now split the BookData class into 2 classes.
BookData will now only use the bookTitle, isbn, author, and publishers.
Create a new class called InventoryBook. This class will derive from the BookData class and use the dateAdded, qtyOnHand, wholesale, and retail attributes.
Move the functions into their correct class and fix the list of object creation to create the correct objects.
Create another class called SoldBook. This class will derive from the InventoryBook class. It will have the following attributes:
taxRate - A private static member, used to hold the sales tax rate
qtySold - The quantity of a particular book that is being purchased
subtotal - The subtotal of the sale of a particular title. The subtotal is calculated as retail times qtySold
tax - The sales tax on the purchase of a particular book, calculated as subtotal times taxRate(retail is inherited from InventoryBook.)
total - A private static member used to hold the total of an entire sale
Create all of the needed functions too.
Modify the cashier function to use these new classes. Don’t worry about doing anything for the other functions based on these changes. We will do that in Project 7. This means, when testing your code, only use the Cashier function and make sure that works. So if it touches the LookUpBook function, then you have to fix that one.
You only have to do one interaction with the SoldBook, we will add a loop to the cashiers function in Project 7.
share your existing code with me. can do this for you . and most likely can do this for you today. Relevant Skills and Experience - python - student projects - OOP Proposed Milestones $40 USD - complete project
11 freelancers estão ofertando em média $109 para este trabalho
Hi, instructions seem clear, I could write some good code for it and help you understand. If you're interested let's chat, thanks Relevant Skills and Experience python and OOP Proposed Milestones $50 USD - is ok?
Hi I am python expert I can do anything with that. Your requirement is also not problem to me Relevant Skills and Experience Python Proposed Milestones $190 USD - OneTime
Contact me I will give you code with descriptive comments so that in future you may edit it yourself. Relevant Skills and Experience 8 years Proposed Milestones $100 USD - Full