Question: A vending machine system A vending machine(1) dispenses items and only accepts coins. When a customer inserts enough coins, an item may be selected. If
A vending machine system A vending machine(1) dispenses items and only accepts coins. When a customer inserts enough coins, an item may be selected. If too many coins are inserted, the coin changer in the vending machine returns the extra coins. If the item is available, the item is dispensed to the customer. If the item is not available, a message is lighted to show there are no more items. Periodically, the owner of the vending machine will resupply the machine with items. The owner will also occasionally collect money from the machine and resupply it with coins. 4.1 Draw a workflow diagram showing the possible process of this vending machine system. 4.2 Identify possible classes in this vending machine system and draw a class diagram. Specify the relationships between classes in the class diagram
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
