Pergunta de entrevista da empresa Vicky

Basic oops, pattern printing, easy coding question