text cover

Data Abstraction and Problem Solving with C++

Walls and Mirrors

by Frank M. Carrano

Addison Wesley Logo

c02p077.cpp File Reference


Detailed Description

A Recursive Valued Function: The Factorial of n

Date:
29 May 2006
Chapter:
Chapter 2
Page:
Page 77
Version:
5.0

Definition in file c02p077.cpp.

Go to the source code of this file.

Functions

int fact (int n)


Function Documentation

int fact int  n  ) 
 

Precondition:
n must be greater than or equal to 0.
Returns:
The factorial of n.

Definition at line 17 of file c02p077.cpp.

References fact().


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