The BFOIT Introduction to Programming Class
Inputs Animated Applet


Here is a small program which draws three cubes.  Watch how the program is executed, step by step.  Especially watch how how the inputs change when the procedures are invoked.  As an example, when diamond is invoked, its :steps variable is replaced with a number.

alt="Your browser understands the <APPLET> tag but isn't running the applet, for some reason." Your browser is completely ignoring the <APPLET> tag!


Return to Iteration Lesson