'do-while' Loop:-

                                       do while is an iterative  in c language. THis loop executes one or more statements while the given condition is true. In this loop,the condition comes after the body of the loop.it is an important loop in a situation when the loop body must be executed at least once.

Syntax:-

The syntax of while loop is as follows 

do 
{
  Statement 1;
  Statement  2;
   :
   :
 Statement N;

}
While(condition);

FlowChart:

What is do While Loop(http://teachcoding.blogspot.com)

Post a Comment

Protected

Protected by Copyscape
 
Learn Programming © 2017. All Rights Reserved. Shared by S.A.R
Top