Page 22 - Touchcode_C8_Flipbook
P. 22

Coding in Minecraft







                                               To check if a number is even or odd

                   You can create a program in minecraft to check if a number is even or odd, by using the
                   following blocks:























                                                   The nested division problem

                   You can create the program which checks if a number is divisible by 4 or 5 or by both
                   4 and 5 in minecraft, by using the following blocks:







































                   20     Touchcode-VIII
   17   18   19   20   21   22   23   24   25   26   27