Loop Statements
Loop statements allow you to execute one or more lines of code
repetitively. When we know that we must execute a statement a
specific number of times then we use the loop statement.
The loop statement uses a counter variable
that increases in value during each repetition of the loop.
This sample covers
- Creating and using a Loop
|