Question: Code in Java The first two images are what we have to do The next 4 is the format And I've also added my tutors
8:12 am online.uts.edu.au ooo vodafone AU @100%.. A store sells a number of products. The initial stock is shown below: The store has a cash register which stores all cash from sales of the store's product. The store clerk uses the following menu: 1. sell 2. restock 3. view stock 4. view cash 5. prune products 6. exit The "prune products" option removes all products with zero stock from the store. Sample VO eir 1.9 In addition to the basic functionality above, your program should also satisfy the . The "selil option prints an error if the selected product is not found. . The "selil option ignores the case of the product name (e.g. bLaCk pEn). . The "selil option allows the product name to be partially entered. e.g. Entering "red will sell a "Red Pen". Entering "pen" will instead show a list of matching products . The "restock" option also allows a partial product name to be entered. All matching . The "restock" option, if given a product name that doesn't exist, will automatically Sample VO (Black Pen, Red Pen, Blue Pen). products will be restocked. create and add a new product with that name
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
