This "scratch" program on the Raspberry Pi (Debian "wheezy dist.) prompts for a number, then displays its square. Scratch is a free download (PC, Linux, Mac) on http://scratch.mit.edu .
Code in this program is -
when [Flag] clicked
repeat 4
ask "number? " and wait
set i to answer
set j to i * i
say join (join " The square of " i) (join " is " j )
wait 2 secs
say "Thanks for watching."
Thanks for watching.
On this page of the site you can watch the video online Raspberry Pi - "Scratch" programming with a duration of hours minute second in good quality, which was uploaded by the user redbear8174 13 August 2012, share the link with friends and acquaintances, this video has already been watched 14,620 times on youtube and it was liked by 11 viewers. Enjoy your viewing!