Page 111 - 2502_Pakistan-kifayat_C-7
P. 111

Is the timer below zero?

                    Is the character in a certain position?
                 Example 2: The program asks the user to enter a score. Based on the score, it displays a message. If
                 the entered score is greater than 50, it says:

                    Move to the Next Level

                 Otherwise, it says:

                    Not Move to Next Level
                 The code for this task is as follows:



































                 The output of the program is:

























                 Example: When the Cat sprite touches the Apple sprite, it should say “Yum! I found the apple!”.





                                                                                                  #More on Scratch 109
   106   107   108   109   110   111   112   113   114   115   116