Pergunta de entrevista da empresa GlobalLogic

A Logical question related to fruit vending machine.