Skip to content

Instantly share code, notes, and snippets.

@amatus
Created June 4, 2018 22:25
Show Gist options
  • Save amatus/63735b4f216505ff57669c87d8994d8c to your computer and use it in GitHub Desktop.
Save amatus/63735b4f216505ff57669c87d8994d8c to your computer and use it in GitHub Desktop.
bc 1.06.95
Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
define f (x) {
if (x <= 1) return (1);
return (f(x-1) * x);
}
f(6)/f(4)
30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment