Continental Interview Question

Describe a statemachine for something, example vending machine.