about | help | code help+videos | done | prefs |
Given three sides of a triangle, in ascending order, return true if this is a right triangle. Otherwise return false. If any of the numbers are not positive, return false. pythaggy(3, 4, 5) → true pythaggy(3, 4, 6) → false pythaggy(-3, 4, 5) → false ...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: 100
Copyright Nick Parlante 2017 - privacy