Google Interview Question

Define a for loop and while loop