Page 29 - Touchcode_C8_Flipbook
P. 29

Step 24: Code will be:






































                  Step 25: Change the value of number to 42 in ‘set number to 0’ block. Click on ‘Start the
                            simulator’ to view the output.

                  Step 26: Change the value of number to 63 in ‘set number to 0’ block. Click on ‘Start the
                            simulator’ to view the output.

                  Step 27:  Change the value of number to 10 in ‘set number to 0’ block. Click on ‘Start the

                            simulator’ to view the output.




























                                                                                       Get Creative with Loops   27
   24   25   26   27   28   29   30   31   32   33   34