Page 80 - Digital_Kids_5
P. 80

5.  Step-by-Step Sequence: Arrange steps in a logical order.


            Using Flowcharts in Problem Solving

                Clarity in Complexity: Flowcharts bring order to tricky problems.

                Programming Power: They play a vital role in understanding program logic.
                Error Hunters: Help find mistakes or inefficiencies in plans or code.


            Simple Problems of Flowcharts

            These flowcharts play an important role in the programming of a problem and are quite
            helpful in understanding the logic of complicated and lengthy problems.

            Let us learn some examples of flowchart.

            Example 2: Calculate the Sum, Difference and Product of two numbers.


                                                               Start


                                                 Read Two Numbers A and B



                                                              Sum-A-B


                                                           Display Sum



                                                         Difference-A-B


                                                      Display Difference



                                                           Product AB


                                                        Display Product



                                                               Stop


















                Computer —  5                                   80
   75   76   77   78   79   80   81   82   83   84   85