pythagoras 1.0.0
pythagoras: ^1.0.0 copied to clipboard
Pythagoras' theorem in Dart
Pythagoras has two functions. FindLeg() finds the leg of a triangle, FindHyp() find a hypoteneuse. They both take in and return double values and use named parameters (a and b for FindHyp and a and c for FindLeg)