Pergunta de entrevista da empresa Oracle

Design a logic to implement ATM machine vencding using certain denominations of notes available