Page 183 - Trackpad_V5_Book 8
P. 183
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.
Step 13 From the 'Advanced', click on ‘Text’, and then select, 'join' block, it will appear on the
workspace.
Techipedia (Microsoft MakeCode Arcade) 181

