#include<stdio.h>
#include<math.h>
int main()
{
int side;
float area, r_4;
r_4 = sqrt(3) / 4;
printf("\nEnter the Length of Side : ");
scanf("%d", &side);
area = r_4 * side * side;
printf("\nArea of Equilateral Triangle : %f", area);
return (0);
}
Output :
Enter the Length of Side : 5
Area of Equilateral Triangle : 10.82
Properties of Equilateral Triangle :
- Equilateral triangle is a triangle in which all three sides are equal .
- All angles are of measure 60 degree
- A three-sided regular polygon
Good explanation
ReplyDelete