Introduction
A programming language typically consists of several types of basic elements, such as assignments, conditionals, and loops.The idea behind a loop is to repeat a segment of code that is in the body of the loop.Different kinds of loops are common.For example, loops will run:
while a specified condition is true (i.e. while the condition is met, do something)
until a certain condition is met (i.e.
A programming language typically consists of several types of basic elements, such as assignments, conditionals, and loops.The idea behind a loop is to repeat a segment of code that is in the body of the loop.Different kinds of loops are common.For example, loops will run:
while a specified condition is true (i.e. while the condition is met, do something)
until a certain condition is met (i.e.
[
add
]
[
|
|
...
]