In programming, Control Flow referes to the order of instructions (statements) are executed. Swift provides the standard set of conditional constructs. These include for, while, if and switch, plus break and continue to transfer the control to another location in the code.
Even those these are constrcts are familiar but they provide considerably powerful support for safety.
A for loop construct provides a way for a block of code to be executed number of times. Swift provides two types of for loops.