posted 8 years ago
I am now working on Part 3 of my Inventory Program. I had to add another class to extend the Inventory class and add another feature (which I added author). I also had to calculate the Restocking fee of 5% and add it to the total inventory price. I thought I had all this down, and it's displaying everything in the output, however it's not adding the restocking fee to my total inventory. It should add the 5% restocking fee to the price of the item and then multiply it by how many are in stock, and this should be the total inventory value. I would greatly appreciate if someone could help me out... is my calculation wrong? Thanks
Here's the code:
Books.java
Inventory.java
InventoryLauncher.java