Help for this page

Select Code to Download


  1. or download this
    c:\test>fib 7
    13
    ...
      .  .  .fib( 2 ) -> 1
      .  .  .fib( 1 ) -> 1
    13
    
  2. or download this
    #! perl -slw
    use strict;
    ...
    print fib( $ARGV[ 0 ] );
    print fibx( $ARGV[ 0 ] );