Page 75 - Touchcode_C7_Flipbook
P. 75

Coding in Minecraft







                                          To create an array and calculate its length

                  You can create an array and calculate its length in minecraft, by using the following

                  blocks:


















                                             To print the first element of the array

                  You can print the first element of the array in minecraft, by using the following blocks:



















                                      To calculate the sum of the elements in an array

                  You can calculate the sum of the elements in an array in minecraft, by using the following
                  blocks:

















                                                                                           Coding in Minecraft   73
   70   71   72   73   74   75   76   77   78   79   80