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