Google interview question

Define a for loop and while loop