FDM Group Interview Question

Difference between for and while loop?