in reply to Re: Re: Finding the hypotenuse of a right triangle!
in thread Finding the hypotenuse of a right triangle!
With your side notation you only need two cases A & B or A & C. Traditionally in such cases one uses switches, see Getopt::Std (among others).
PS> I didn't say there was no point in knowing
what a hypotenuse was. I just joked that it's not
something one is often called upon to find.
--
perl -pe "s/\b;([mnst])/'\1/mg"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Finding the hypotenuse of a right triangle!
by theorbtwo (Prior) on Apr 09, 2002 at 18:14 UTC |