A14 - Boolean Algebra and Loop Boundaries |
|
|
Conditional loops are some of the hardest pieces of code to write correctly. The goal of this lesson is to have a structured approach for the construction of conditional loops. Thinking in the positive sense is typically easier. Determine what will be true when the loop is done. Negate this condition to stay in the loop. |
|