We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Many of you are so close! Remeber, the order of your cases is important!
Hint 1: Its easiest if you check to see if it a triangle or not a triangle first.
Hint 2: SQL looks for the first TRUE Case. If not written in the correct order, it is possible for a triangle with 3 equal sides to be marked as an "Isosceles".
Don't forget about "ELSE". (Hopefully this doens't make it more confusing)
:)
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Type of Triangle
You are viewing a single comment's thread. Return to all comments →
Many of you are so close! Remeber, the order of your cases is important!
Hint 1: Its easiest if you check to see if it a triangle or not a triangle first.
Hint 2: SQL looks for the first TRUE Case. If not written in the correct order, it is possible for a triangle with 3 equal sides to be marked as an "Isosceles".
Don't forget about "ELSE". (Hopefully this doens't make it more confusing)
:)