Page 109 - Trackpad_V1_Book 6_Flipbook
P. 109

DRAWING A FLOWCHART

                 Let us now learn how to draw a flowchart.

                 MAKING A CUP OF TEA                                    CALCULATING THE AREA OF A CIRCLE

                                     Start                                                  Start



                           Collect Kettle, Teabags,
                         water, milk, sugar and cup                                  Read r (radius)



                          Boil the water in the kettle
                                                                                         Calculate

                     Pour the boiling water into the cup                              Area = 3.14 × r × r



                          Add milk, sugar and put a                                     Print Area
                                teabag in the cup


                                 Stir the tea                                               Stop



                                Tea is ready



                                     Stop


                 FINDING THE SMALLER NUMBER BETWEEN TWO NUMBERS

                 There comes a situation where we need to make a decision based on certain conditions.


                                                                Start



                                                      Read Num1 and  Num2





                                               Yes                Is             No
                                                            Num1<Num2?
                                    Display Num1                                   Display Num2

                                    “is less than”                                   “is greater
                                        Num2                                        than” Num1
                                                                Stop




                                                                                 Algorithm, Flowchart and Mind Maps  107
   104   105   106   107   108   109   110   111   112   113   114