Find great deals on eBay for Woodstock Ticket in Music Memorabilia. Shop with confidence.
Instead of adding several almost equal lines in a script we can use loops to perform a task like this. In JavaScript there are two different kind of loops: for - loops through a block of code a specified number of times. while - loops through a block of code while a specified condition is true.
1 Besides the while-loop and the do-while-loop, C++ has another looping mechanism called the for-loop. 2  The syntax for the for-loop is: 3  for (Initialization_Action; Boolean_Expression; Update_Action). 4  Body_Statement. 5  The initialization action is processed first. 6  Then the Boolean expression is evaluated.