English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

i need to make a program on triangles. it has to tell me if its a right triangle, acute, or obtuse. and it also needs to tell me what kind of triangle it is, like iso, scal, or equal. can someone help me with this?

2007-01-15 08:55:44 · 2 answers · asked by Anonymous in Education & Reference Homework Help

2 answers

1) If has a 90 degree angle then Right angled
2) If has two angles the same i.e. angle a=angle b then isosceles
3) If 1 and 2 true then right and isosceles
4) If all angles the same then equilateral
5) If none of above are true then scalene

acute <90 degrees, obtuse > 90 degrees

2007-01-15 09:04:50 · answer #1 · answered by Paul B 3 · 0 0

Ummm. You're talking about a computer program, right? Before anyone can help, you will need to let us know which language you are coding it in.

2007-01-15 09:18:11 · answer #2 · answered by Rabbit 5 · 0 0

fedest.com, questions and answers