Saturday, March 24, 2012

Digital stop watch in Scratch

This week we coded a digital stop watch in Scratch.  It displays the time elapsed from the moment you click the green flag until you stop the program in hours, minutes and seconds.

It is a good example of simple if statements in Scratch:

An alternative solution using mod and more variables:

No comments:

Post a Comment