Page 137 - Chinmaya_C8_flipbook
P. 137

Step  6   From, the 'Math', select the 'remainder' block, it will appear on workspace, drag and drop
                           the block to 'comparison' block in 'if-else block'.


















                 Step  7   From the 'Variables' select variable 'a', it will appear on  the workspace, drag the variable
                           and drop it in the 'remainder of' block, as shown. Also change the value of 0 to 2 as shown
                           in the image below.















                 Step  8   From the 'Game', select the 'splash' block, it will appear on the workspace.















                 Step  9   From the 'Advanced', click on ‘Text’, and then select, 'join' block, it will appear on the

                           workspace.















                 Step 10  Drag the 'join' block to the 'splash' block. Write the message as: 'Number is even'
                 Step 11  Drag and drop the 'splash' block in the 'if' block.

                 Step 12  From the 'Game', select the 'splash' block.



 134  Premium Edition-VIII                                                   Techipedia (Microsoft MakeCode Arcade)  135
   132   133   134   135   136   137   138   139   140   141   142