You are viewing a single comment's thread. Return to all comments →
MY SQL
select case when(a=b and b=c) then 'Equilateral' when (a+b<=c or b+c<=a or c+a<=b) then 'Not A Triangle' when (a!=b and b!=c and c!=a) then 'Scalene' else 'Isosceles' end from triangles
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 →
MY SQL