Page 45 - Touchcode_C8_Flipbook
P. 45

Step 18: From ‘Functions’ select ‘call VolumeofCuboid’ block, and drop the block to ‘on
                            start’ block below the ‘set Volume’ block.














                  Step 19: Change the value of block ‘call VolumeofCuboid’ to 2, 3, 10.























                  Step 20: Click on ‘Start’        button, present on the bottom right corner of the screen, to

                            see the output.




























                     Well done, you have learnt to calculate the volume of cuboid.






                                                                                           Functions in Depth    43
   40   41   42   43   44   45   46   47   48   49   50