•A loop control variable is used – it must be initialized before it is tested and it must be updated in the body of the loop.
•Example:
–loopCount
= 1;
–while (loopCount <= 10) termination condition
– is loopCount = 11
–{
•.
•.
•.
•loopCount
= loopCount + 1;
–}