Home » Write a Program to calculate the Area of Isosceles Triangle

Write a Program to calculate the Area of Isosceles Triangle

by Online Tutorials Library

Write a Program to calculate the Area of Isosceles Triangle

Before writing the program of calculating the area of isosceles triangle in different programming languages, firstly we have to know about what is the formula to find area of Isosceles Triangle?

What is the Area of Isosceles Triangle?

Program of calculating the area of an Isosceles Triangle in different Programming languages

Program 1: Write a Program in C language:

Output of Above C program:

Enter the height of the Isosceles Triangle:5  Enter the base b of the Isosceles Triangle:10  Area of the Isosceles Triangle is: 25.00  

Program 2: Write a Program in Java language:

Output of Above Java program:

The Area of Isosceles Triangle in Java:  25.0  

Program 3: Write a Program in PHP programming language.

Output of Above PHP program:

24  

Program 4: Write a Program in Python programming language.

Output of Above Python program:

250.0  

You may also like