Flow
Chart
|
![]() |
||||
|
The basic structure of while loop in
structured flow chart is:
At first, we will draw a rectangle and write while in it. Then draw a line to
its right and use the decision symbol i.e. diamond diagram. Write the loop condition
in the diamond and draw a line down to diamond which represents the flow when
the decision is true. All the repeated processes are drawn here using
rectangles. Then a line is drawn from the last process going back to the
while and decision connection line. We have a line on the right side of
diamond which is the exit of while loop. The while loop terminates, when the loop condition evaluates to false and the control gets
out of while structure. |
|||||
|
|
Previous |
TOC |
Next |
||