MathWorks interview question

Design an ATM machine