Pergunta de entrevista da empresa Anonymous

Some questions based on for loop and while loop