Page 110 - Touchpad_Plus_V3.2_Class 5
P. 110

Step 5  Click on OK button.

                  Step 6  Repeat steps 3 to 4 to create two more variables, N2 and Quotient.

                  Step 7  Click and drag                             block to Script area.
                  Step 8  Click on the drop-down arrow and select N1.


                  Step 9  Set the value of N1 as 12.
                  Step 10 Repeat Steps 7 to 9 to set the value of N2 as 5.

                  Step 11 Repeat Steps 7 to 9 to use the variable Quotient.

                  Step 12 Drag              to the slot to set value of Quotient.

                  Step 13 Drag the variable blocks of N1 and N2 to fit in the slots 1 and 2 respectively

                            of the division block.
                  Step 14 Click on the Flag button to run the program.


























                                                           Output of the division
                      CONDITIONS

                  Sometimes, the flow of the program may not be in a sequence. There are situations

                  when the control of the program has to be transferred to a different set of instructions
                  upon a condition becoming true or false. When the condition is to be checked, it is



               108      Plus (Ver. 3.2)-V
   105   106   107   108   109   110   111   112   113   114   115