• Courses
  • Tutorials
  • Jobs
  • Practice
  • Contests
September 13, 2022 |660 Views
C++ Program to find Area & perimeter of an Isosceles Triangle
Description
Discussion

In this video, we will write a C++ Program for finding the area & perimeter of an isosceles triangle

There are three types of triangles Equilateral Triangle, Isosceles Triangle & Scalene Triangle

A triangle is known as an isosceles triangle if two sides are the same length.

Area of Isosceles triangle:
The area of a triangle is defined as the total space occupied by the three sides of a triangle in a 2- dimensional plane.
Formula:
A = 1/2 × b ×h

The perimeter of the Isosceles triangle:
The perimeter of an isosceles triangle is the total length of its boundary which means the sum of all its sides.
P = 2a + b

Example:
Input h and b : 3 & 4
Output Area = 4.47214 m
Perimeter = 10 m2

Now, in this video, we calculate the area & perimeter of the isosceles triangle using the formula.

Find altitude & area of isosceles triangle: https://www.geeksforgeeks.org/find-the-altitude-and-area-of-an-isosceles-triangle/

Read More