Page 174 - TrackpadV5.1_class8
P. 174
Step 8 From ‘Game’ select the ‘splash’ block, drop the block to ‘if’ of ‘if-else’ block and add the text,
‘Number is Even’.
Step 9 From ‘Game’ select the ‘splash’ block, drop the block to ‘else’ of ‘if-else’ block and add the text,
‘Number is Odd’.
Step 10 Change the value of number to 6 in ‘set number to 0’ block. Click on ‘Start the simulator’ to view
the output.
Step 11 Change the value of number to 5 in ‘set number to 0’ block. Click on ‘Start the simulator’ to view
the output.
172 Pro (V5.1)-VIII

