Skip to main content

Posts

Showing posts with the label Type of Triangle Hackerrank Solution SQL

Type of Triangle Hackerrank Solution SQL | Hackerrank SQL

 Type of Triangle Hackerrank Solution SQL  For Explanation Watch Video : Code: SELECT CASE WHEN A+B<=C OR B+C<=A OR C+A<=B THEN 'Not A Triangle' WHEN A=B AND B=C THEN 'Equilateral' WHEN A=B OR B=C OR C=A THEN 'Isosceles' ELSE 'Scalene' END FROM TRIANGLES;