Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    use strict;
    ...
        return $n if ($n < 2);
        return fibo ($n-1) + fibo ($n-2);
    }
    
  2. or download this
    $ perl fibo3.pl 32
    1.618033988750