Help for this page

Select Code to Download


  1. or download this
    sub diag {
    my $x = shift @_;
    my $y = shift @_;
    ...
    my $result = sqrt($prod);
    return $result;
    }
    
  2. or download this
    sub diag {
    my $x = shift @_;
    my $y = shift @_;
    return abs ($x * $y);
    }
    
  3. or download this
    sub diag {
    return abs ($_[0] * $_[1]);
    }