Advertisement
tpaper

factorial

Sep 9th, 2012
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. enrico@enrico-desktop:~$ time cat nann
  2. define f(x) {
  3. if (x>1) {
  4. return (x * f (x-1))
  5. }
  6. return (1)
  7.  
  8. }
  9. f(8000)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement