Page 106 - Touchpad_Plus_V3.2_Class 5
P. 106

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








               104      Plus (Ver. 3.2)-V
   101   102   103   104   105   106   107   108   109   110   111