Advanced Scratch Programming: Learn to design programs for challenging games, puzzles, and animations by Abhay Joshi

Advanced Scratch Programming: Learn to design programs for challenging games, puzzles, and animations by Abhay Joshi

Author:Abhay Joshi [Joshi, Abhay]
Language: eng
Format: azw3
Publisher: Tanuja Joshi
Published: 2016-09-06T16:00:00+00:00


There is a small problem in this script. Do you see it?

When M = 0, the above script will make it -1, which is not valid, is it? Can you fix this problem and rewrite the script?

Here is how it will look with the fix:

Now, how about the “minute-” script for the hour-hand? Can you work out the steps?

Here is how it will work. If the minute-hand crosses the 0 mark, the hours must go down by 1.

Once again, there is a small problem with this script. Do you see it?

When H = 0, the above script will make it -1, which is invalid. How will you fix it ?

Here is the final script:



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.