Skip to content

Instantly share code, notes, and snippets.

@alexitaylor
Last active February 22, 2017 20:57
Show Gist options
  • Save alexitaylor/5abdfdb6202b12bafe3d16f84e541915 to your computer and use it in GitHub Desktop.
Save alexitaylor/5abdfdb6202b12bafe3d16f84e541915 to your computer and use it in GitHub Desktop.
fact(1) = 1
fact(2) = 2 * 1
fact(3) = 3 * 2 * 1
fact(4) = 4 * 3 * 2 * 1
fact(5) = 5 * 4 * 3 * 2 * 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment