Question: 4. Draw a sequence diagram for purchasing a pop from a vending machine, given the following assumptions: .The objects in the system are the user,
4. Draw a sequence diagram for purchasing a pop from a vending machine, given the following assumptions: .The objects in the system are the user, the dispenser (releases cans of pop), the display (shows amount of money entered and other messages), and the controller (receives coins, issues change, sends orders to the dispenser and updates the display) The user will enter enough money before selecting the variety of pop. The machine is not out of the variety of pop selected. The machine has enough change
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
