Domanda di colloquio di Honeywell

Differences between for and while loop