Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd PythagoreanTriple.java and Add assert statements #1417
Conversation
|
Thank you so much! |


PythagoreanTriple.java is a class that determines whether its inputs, a,b,c are a Pythagorean triple.
returns true if a^2 + b^2 = c^2 and all are positive non-zero values, false otherwise
Adding assert statements to AbsoluteMax, AbsoluteMin, AbsoluteValue, MinValue, and MaxValue helps for testing