About 4,320,000 results
Open links in new tab
  1. What is Repetition? - Computer Hope

    Mar 12, 2022 · Example of repetition. Below is an example of how repetition could be used in a computer program. my $count = 0; do { print "$count\n"; $count++; } until ($count == 100); In …

  2. Learn Programming: Repetition Structures (Loops) - Franco …

    Nov 23, 2021 · Then you can instruct the computer to repeat the solution as many times as it is needed. To do this, you should not duplicate code; rather, it is enough to define repetition …

  3. Repetition Structures in C++ - Florida State University

    Repetition structures, or loops, are used when a program needs to repeatedly process one or more instructions until some condition is met, at which time the loop ends. Many programming …

  4. Understanding Loops: The Power of Repetition in Programming

    Apr 2, 2025 · Loops are a fundamental concept in programming, enabling developers to perform repetitive tasks efficiently. They allow code to execute a set of instructions multiple times, …

  5. THE REPETITION CONTROL STRUCTURE - The VB Programmer

    The repetition control structure is also known as the looping or iteration control structure. Looping is the process of repeatedly executing one or more steps of an algorithm or program; it is …

  6. Repetition and iteration - Computational constructs - National 4 …

    Here are two examples, both using fixed loops to repeat a specific sequence of code a set number of times while using values held inside an array. This fixed loop will repeat 5 times (0 to...

  7. Repetition Statements in Pythion (with Code Examples) - Teachoo

    Dec 13, 2024 · Repetition of a set of statements in a program is made possible using looping constructs. Looping constructs provide the facility to execute a set of statements in a program …

  8. Chapter 7: Repetition – Python Textbook - una.pressbooks.pub

    There are several different instructions that can be used to implement repetitions within a Python program. These loop instructions, along with the selection instructions discussed in chapter 6, …

  9. Repetition Structures

    Repetition structures is the formal name for loops. Loops allow programmers to do amazing things in short lines of code. Loops are great because they allow a piece of code to be executed …

  10. Repetition • Typical examples: • Do something repeatedly until a state changes to a certain value • Do something for a certain number of times • Do something while something is true

Refresh