|
|
вернуться в форумHow to know the triangle is acute or obtuse? Are there any ways of checking triangle beside checking every angle? Edited by author 15.04.2005 11:44 Re: How to know the triangle is acute or obtuse? if (a*a+b*b=c*c) or (a*a+c*c=b*b) or (b*b+c*c=a*a) then write('Triangle rectangular') else if (a*a+b*b<c*c) or (a*a+c*c<b*b) or(b*b+c*c<a*a) then write('треугольник тупоугольный') else write('Triangle acute-angled'); Re: How to know the triangle is acute or obtuse? Thank you very much! It's very useful information for me! |
|
|