Site pages
Current course
Participants
General
Topic 1
Topic 2
Topic 3
Topic 4
Topic 5
Topic 6
Topic 7
Topic 8
Topic 9
Topic 10
Topic 11
Topic 12
Topic 13
Topic 14
Topic 15
Topic 16
Topic 17
Topic 18
Topic 19
Topic 20
Topic 21
Topic 22
Topic 23
Topic 24
Topic 25
Topic 26
Topic 27
Iteration Constructs
Iteration is the ability of a programming language to allow the user to repeat the execution of a certain set of statements again and again until a requirement or condition is satisfied. This structure helps the programmer to perform a particular task again and again āNā number of times. . Iteration is also termed as looping.
Many programs require that a group of consecutive instructions be executed repeatedly until some logical condition has been satisfied. The required number of repetitions will not be known in advance
Here the execution of a group of consecutive instructions is repeated some specified number of times. Example : Draw a flowchart to print first 10 natural numbers Example :Draw a flowchart to print first 20 even numbers
|