Skip to main content
Engineering LibreTexts

15: Test Before Loops

  • Page ID
    10337
    • 15.1: Increment and Decrement Operators
      The idea of increment or decrement is to either add or subtract 1 from a variable that is usually acting as a flag.
    • 15.2: While Loop
      The concept of iteration is connected to possibly wanting to repeat an action. Like all control structures we ask a question to control the execution of the loop. The term loop comes from the circular looping motion that occurs when using flowcharting.
    • 15.3: Practice 14 Test Before Loops