WD Interview Question

Draw a state diagram for vending machine.