Avaya interview question

Asked to create a banking machine simulation