Text Box: Breath
 3cm
Text Box: 3cm

The above algorithm involves a single decision step.

 

When a flow chart is too large to be made on page and is to be continued on another page, a connector - symbol is used in the form of a small circle. Generally a letter or number is written inside the circle to avoid confusion.

 

                                                                                                                                                                 Connector to show the

                                                                                                                                                                continuity at the

                                                                                                                                                                  beginning of the new

                                                                                                                                                                  page                                                                           

 

 

 

 

 

 

 

 

 

Connector indicating the      

end of the first page               

 

 

 

 

 

PSEUDOCODE  

 

Some programmers prefer to explain the logic of a solution algorithm with a more English - like technique (instead of a graphical flowcharting techniques)

 

Three basic pseudocode control structure

 

1) Beginning and he End of the module Start at the Left margin.

2) The action within the modules must be indented.

3) The control structure in a module also must be indented.

 

 

MAIN MODULE

 

                  CALL INTIALIZTION

                  CALL PROCESS

                  CALL WRAP - UP

 

END

 

PROCESS MODULE

 

                  DO WHILE NOT EOF

                                    CALL READ A RECORD

                                    CALL CALCULATTE

                                    CALL ACCUMULATE TOTALS

                                    CALL PRINT DETAIL LINE

                  ENDDO

 

RETURN

CALCULATE DISCOUNT MODULE

 

                  IF DISCOUNT CODE = 0 THEN

                                    DISCOUNT = 0

                  ELSE

                  DISCOUNT = .02

                  ENDIF

 

RETURN

 

 

Oval: Start
Oval: P
Oval: P
Oval: END

[HOME]  [2]  [3]  [4]  [5]  [6]  [7]  [8]  [9]  [10]  [11]  [12]  [13]  [14]  [15]  [16]  [17]  [18]  [19]  [20]  [21]  [22]  [23] 

<<[PREVIOUS]                   [NEXT]>>

[HOME]  [2]  [3]  [4]  [5]  [6]  [7]  [8]  [9]  [10]  [11]  [12]  [13]  [14]  [15]  [16]  [17]  [18]  [19]  [20]  [21]  [22]  [23]  [24]  [25]  [26]  [27]  [28]  [29] [30]  [31]  [32]  [33] 

<<[PREVIOUS]                   [NEXT]>>

 

 

www.kiddiesnet.com