You are viewing a single comment's thread. Return to all comments →
IF (A,B,C)= (20,1,1) then foolow your code the result will be "Isosceles'
But in fact this is not a triangle because A< B+C So the point is you forget the condition B+C>A AND A+C>B
But i wonder why the code is accepted in this case
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 →
IF (A,B,C)= (20,1,1) then foolow your code the result will be "Isosceles'
But in fact this is not a triangle because A< B+C So the point is you forget the condition B+C>A AND A+C>B
But i wonder why the code is accepted in this case