Pergunta de entrevista da empresa Capgemini

Basic logical coding questions were asked