Page 86 - TechPluse_C6_Flipbook
P. 86

Maintain the direction of the flow from left to right or top to bottom.

                      Only one flow line should come out from a process symbol.

                      Ensure that only one flow line should enter a decision symbol, but two flow lines should leave
                      the decision box.

                      Ensure that the flowchart has a logical start and end.
                  Advantages of Flowcharts


                  Flowcharts provide following advantages:
                      It provides a better understanding of a problem.

                      It facilitates a programmer to analyse the problem in detail.

                  Let us understand how some simple flowcharts are made.


                  Example 1: Flowchart to                Example 2: Flowchart to check whether the number
                  calculate simple interest.             is positive or negative.

                                                                                      Start
                               Start



                                                                                   Input num
                      Read P for Principal
                               r for rate

                               t for time
                                                                        True        NUM < 0        False
                                                                                       ?

                             Calculate
                         SI = (P * r * t)/100
                                                               The number                            The number is
                                                                is negative                          zero or positive

                             Print SI





                               Stop

                    Flowchart to calculate simple                                     Stop
                             interest

                                                         Flowchart to check number is positive or negative










               84       Premium Edition-VI
   81   82   83   84   85   86   87   88   89   90   91