Page 39 - Touchcode_C6_Flipbook
P. 39
Step 8: In the same way, Create a variable 'c' , after creating a variable c; select 'set c to
0' block and drop it to 'on start' block below the 'change b by 20' block.
Step 9: From the 'Math', choose 'addition block', it will appear on workspace. Drag and
drop the 'addition' block to '0' in 'set c to 0' block.
Step 10: From the 'Variable', select variable 'a' and 'b', and drag them to workspace, and
then drop them to 'set c to '0 + 0' block.
Variables Using Block Coding 37

