How to use do while loop ?
By Manju S Reddy
do while loop......
Teacher SiliconIndia replied to Manju S Reddy Wednesday, March 17, 2010
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);