Hi Manjunath,
The Do While statements are similar to While statements, except that the condition is tested at the end of each iteration, rather than at the beginning. This means that the Do While loop is guaranteed to run at least once. The Do While loop syntax is as follows:
do
{
code to be exected;
}
while (condition);
Mar 17, 2010