Page 74 - TechPluse_C4_Flipbook
P. 74

For Boy 1                           For Ball                    For Boy 2

                  The output of the game will be similar to this:






























                                                           Output of the game
                      USING OPERATORS


                  These blocks are colour-coded as light-green. Operators Blocks are used to do arithmetic and
                  logical calculations. Blocks in the Operators category are oval and hexagon in shape.
                  Arithmetic Operators

                  Scratch  has four  operators that  allow  you  to do arithmetic  calculations.  These are  addition,

                  subtraction multiplication and division. Look at the code to use addition block.





                                                         Addition










               72       Premium Edition-IV
   69   70   71   72   73   74   75   76   77   78   79