Oracle interview question

Provide design for a vending machine