Pergunta de entrevista da empresa OMP

Difference between a for-loop and a while-loop