for Loop
for loop instead of a while loop.
The top script is the syntax of the for loop.
The bottom script is an example, whose statements are explained as below:
|
|
int i = 0).
i<5) for the loop.
If the condition is true, the loop will start over again.
If it is false, the loop will end.
i++) each time the code block in the loop has been executed.
|
Why should you never date a tennis player? Because love means nothing to them. |