Page 115 - Computer_Genius_v2.1_C7_flipbook
P. 115

Step 2   Create the variable “pH Value”, ask the user for the input.

                            Block Code















                           Textual code








                 Step 3   Using the “logic” block provides the conditions to detect and give print accordingly.

                            Block Code





























                           Textual code





















                                                                              Exploring Science with Coding-2   113
   110   111   112   113   114   115   116   117   118   119   120