Skip to content

Instantly share code, notes, and snippets.

@plioi
Created May 23, 2012 01:08
Show Gist options
  • Save plioi/2772676 to your computer and use it in GitHub Desktop.
Save plioi/2772676 to your computer and use it in GitHub Desktop.
int Factorial(int n)
if (n==0)
1
else
n * Factorial(n-1)
int Main()
Factorial(10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment