Page 56 - Touchcode_C6_Flipbook
P. 56

Flowchart:


                                             Start






                                           Read age








                                                            Yes
                                            If age <13                      Print "You are a child ."





                                                  No




                                           If age>=13       Yes
                                            AND age                  Print "You are
                                              < 19                   a teenager."



                                                  No


                                         Print "You are
                                           an adult."




                                                           End




                                                       Coding Task            02                       Subject Enrichment


                                                       Dynamic Backgrounds

                   In this task, you will learn how to apply conditions and logical operators in the MakeCode
                   Arcade.

                   To perform the task, follow these steps:

                   Step 1:   Open MakeCode and create a new project 'Dynamic Background', and then click
                             on 'Create'.




                   54     Touchcode-VI
   51   52   53   54   55   56   57   58   59   60   61