about | help | code help+videos | done | prefs |
Given three allowable sides lengths of a triangle, return whether the triangle is "right," "obtuse," or "acute." classifyTriangle(3, 4, 5) → 'right' classifyTriangle(3, 4, 6) → 'obtuse' classifyTriangle(3, 3, 4) → 'acute' ...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: 175 Post-solution available
Copyright Nick Parlante 2017 - privacy