In geometry, a triangle is a closed two-dimensional plane figure with three sides and three angles.
Based on the interior angles of a triangle, there can be various types of triangles. They are Acute
angled triangle, Obtuse angled triangle and Right-angled triangle.
• Acute angle is an angle that is less than 90°.
• Obtuse triangles are those in which one of the three interior angles has a measure greater
than 90 degrees
• A right triangle is a triangle in which one of the angles is 90 degrees.
Write a C/Java program to find the types of triangle. Minimally, the C/Java program must
accept user inputs for a, b, c where a, b, c>0 for representing the angles with the following
conditions must be met :
Acute : a + b > c where a 90
Right angled : a + b = c , where a
Answers
Explanation:
A triangle is a polygon with three edges and three vertices. It is one of the basic shapes in geometry. A triangle with vertices A, B, and C is denoted {\displaystyle \triangle ABC}\triangle ABC.[1]
Equilateral triangle
Regular polygon 3 annotated.svg
A regular triangle
Type
Regular polygon
Edges and vertices
3
Schläfli symbol
{3}
Coxeter diagram
CDel node 1.pngCDel 3.pngCDel node.png
Symmetry group
Dihedral (D3), order 2×3
Internal angle (degrees)
60°
Dual polygon
Self
Properties
Convex, cyclic, equilateral, isogonal, isotoxal
Triangle
Triangle illustration.svg
A triangle
Edges and vertices
3
Schläfli symbol
{3} (for equilateral)
Area
various methods;
see below
Internal angle (degrees)
60° (for equilateral)
triangle, tri, three, angle
Triangle = Tri (three) + Angle
In Euclidean geometry, any three points, when non-collinear, determine a unique triangle and simultaneously, a unique plane (i.e. a two-dimensional Euclidean space). In other words, there is only one plane that contains that triangle, and every triangle is contained in some plane. If the entire geometry is only the Euclidean plane, there is only one plane and all triangles are contained in it; however, in higher-dimensional Euclidean spaces, this is no longer true. This article is about triangles in Euclidean geometry, and in particular, the Euclidean plane, except where otherwise noted.