A Scheme program that computes the
Area of a Circle given the
radius is quite small
A C program for computing the
Area of a Circle
is somewhat longer.
And a C++ program for computing the
Area of a Circle
is longer still.
In Scheme, we can make this program "nicer" by defining
a procedure called square,
and then using it in the
AreaOfCircle program.
Similarly, we can define a define a procedure square
in our C++ Area of a Circle
program.
Web References
Borland's frequently asked questions
C++ Course
Send questions and comments to: Karen Lemone