I can use iteration to repeat sequences of code in a program and use a flag to stop a loop from running.