Help for this page

Select Code to Download


  1. or download this
    sub print_page_x {
        my $page_number = $_[0];
    ...
        print end_form;
        print end_html;
    }
    
  2. or download this
    
    Public class Poly
    ...
            denominator = c;
        }
    }
    
  3. or download this
    public static Poly makeInteger(int i) {
        long [] l = {i};
        return new Poly("x", l, 1);
    }
    
  4. or download this
    long [] one = {1,2, 3};
    Poly p = new Poly("x", one, 1);
    ...
    Poly integer = makeInteger(2);
    Poly.print(p);
    Poly.print(integer);
    
  5. or download this
    (1*x^0 + 2*x^2 + 3*x^2)/1
    (2*x^0)/1
    (2*x^0)/1
    
  6. or download this
    Input:
    
    my @a1 = [
    ...
             { 'name' => 'Dave',
               'score' => 12 }
    ]
    
  7. or download this
    #! /usr/bin/perl
    
    my %hash = (1 => 2,
    ...
        $sum += $n*$hash{$n};
    }
    print ($sum);