text cover

Data Abstraction and Problem Solving with C++

Walls and Mirrors

by Frank M. Carrano

Addison Wesley Logo

c02p072.cpp

Go to the documentation of this file.
00001 
00020 int fact(int n)
00021 {
00022    if (n == 0)
00023       return 1;
00024    else
00025       return n * fact(n-1);
00026 }  // end fact

Generated on Sun Aug 27 11:05:08 2006 for AWLogo by  doxygen 1.4.6