Page 70 - Dig_CodeAI_V2.1_Class_7
P. 70
5 Type 10 in the value box of the
set to block for the num1 variable.
6 Drag the set to 8 Drag the splash
block again and block from the
drop it below the Game category
earlier set to block. and drop it below
the second set to
block.
7 Type 20 in the value box of the
set to block for the num2 variable.
10 Drag the addition block and drop it into the message area of the splash block.
9 Click on the
Math blocks
category.
12 Drag the num1 block and drop it into the left value box of the addition block.
13 Drag the num2 block and drop it into the right value box of
11 Click on the Variables
blocks category. the addition block. The output appears on the Game simulator.
Similarly, we can use other Math blocks.
68 DigiCode AI (Ver. 2.1)-VII

