Pergunta de entrevista da empresa Capgemini

Difference between For loop and while loop?