Pregunta de entrevista de Citi

Explain to me how does a bank function and profit.