about | help | code help+videos | done | prefs |
Write a method that returns true if the three integer parameters are Pythagorean triplets, otherwise return false. The three numbers will be in order from lowest to highest. If you don't know what Pythagorean triplets are, you can Google it. (Google is so cool) pTrip(5, 12, 13) → true pTrip(3, 4, 5) → true pTrip(10, 24, 26) → true ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 280
Copyright Nick Parlante 2017 - privacy