Help for this page

Select Code to Download


  1. or download this
     
    for $n (0..10) {
      for $k (0..10) { 
        print "$n $k '.fs($n,$k)."\n"; 
        }
      }
    
  2. or download this
    use strict; use warnings; 
    
    ...
      my $p2=fs($n-1,$k  ); 
      return $p1 + ($k*$p2); 
    }
    
  3. or download this
    use strict; use warnings; 
    
    ...
      my $p2=s($n-1,$k  ); 
      return $p1 + ($k*$p2); 
    }
    
  4. or download this
    Global symbol "$p2" requires explicit package name at buk-2.pl line 30
    +.
    syntax error at buk-2.pl line 31, near "return"
    ...
    Missing right curly or square bracket at buk-2.pl line 32, at end of l
    +ine
    syntax error at buk-2.pl line 32, at EOF
    Execution of buk-2.pl aborted due to compilation errors.