Factorial

Category:
Dates and Math
Type:
Snippets
Difficulty:
Beginning
Author:
Intelligent Solutions Inc.

Version Compatibility:

More information:
Function returns a factorial of a number (e.g., 6!). Perhaps the easiest illustration of recursion available for beginners

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: