C++ Program to Find Area of Triangle

C++ Program to Find Area of Triangle

Here you will know about Area of Triangle and get and the example code of C++ Program to Find Area of Triangle.

Area of triangle formula

A = 1/2 * b * h

where A is the area of the triangle, b is the base of the triangle, and h is the height of the triangle.

Example of C++ Program to Find Area of Triangle

Output

Enter three sides of triangle: 4
5
7
Area of triangle is : 9.79796

 

 

Check out our other C++ programming Examples

 

 

 

 

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top