Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 108 - 2609_Logiccode
P. 108

    5  Type 10 in the value box of the
                        set to block for the num1 variable.

                                                  6  Drag the set to
                                                  block again and
                                                  drop it below the
                                                  earlier set to block.                             8  Drag the splash block
                                                                                                   from the Game category
                                                                                                   and drop it below the
                                                                                                   second set to block.
                        7  Type 20 in the value box of the
                        set to block for the num2 variable.

                                10 Drag the addition block and drop it into the message area of the splash block.

                              9  Click on the Math
                              blocks category.

                                 12 Drag the num1 block and drop it into the left value box of the addition block.

                             11  Click on the Variables   13 Drag the num2 block and drop it into the right value box of
                            blocks category.             the addition block. The output appears on the Game simulator.

                      Similarly, we can use other Math blocks.

                      106   Premium Edition-VII

| 103 104 105 106 107 108 109 110 111 112 113 |