BFOIT - Introduction to Computer Programming

BFOIT Introduction to Programming Lessons

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.

Your browser does not support Java applets. Click here for more information.


Return to Inputs Lesson

Public Domain Mark
This work (BFOIT: Introduction to Computer Programming, by Guy M. Haas),
identified by Berkeley Foundation for Opportunities in IT (BFOIT),
is free of known copyright restrictions.