Introduction

Iteration Statements are often known as looping, and they run many times while specific condition is true. I would try to explain some of them here. The lesson is for a begginer, and I guess that everyone need to know them.

While

The While loop function used and while the condition is true, the loop statement executed.
the genral form of while loop:

Code:

while (Boolean exception)
statement or block of statements

and here is an example of a program, that time the value of i between 0 to 20: