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.
select
if((A + B > C),if(( A=B and B=C),'Equilateral', if(( A=B or A=C or B=C),'Isosceles',if((A!=B and B!=C),'Scalene','Not A Triangle'))),'Not A Triangle')
as types from TRIANGLES;
Type of Triangle
You are viewing a single comment's thread. Return to all comments →
select if((A + B > C),if(( A=B and B=C),'Equilateral', if(( A=B or A=C or B=C),'Isosceles',if((A!=B and B!=C),'Scalene','Not A Triangle'))),'Not A Triangle') as types from TRIANGLES;