Topic : HTML FORM
Part - 9
In this part of our tutorial, we will learn about the Do...While loop. Instead of using for or while loop, we can also use do...while loop to move the condition round.
The do...while loop is almost similar to the while loop. The only and the biggest difference between the two is the condition that comes at the end of the program. It will execute the statement at least one time either it is true or false. In a normal while loop, the condition could be met before your statement gets executed. Like this :
You do not need to be worry about the do...while. It is used in very rare cases, you should give more attention to the For loop and While loop. These are loops which are most used by the programming world.
This is the end of our this part and in the next part we will learn about the Array.
Posted on: February 24, 2010 If you enjoyed this post then why not add us on Google+? Add us to your Circles