Skip to content

Instantly share code, notes, and snippets.

@welldan97
Created March 29, 2012 19:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save welldan97/2242213 to your computer and use it in GitHub Desktop.
Save welldan97/2242213 to your computer and use it in GitHub Desktop.
fact(0) -> 1;
fact(N) -> N * fact(N-1).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment