## Program to find area of Triangle

**-Program:**

**10 REM Program to find area of Triangle when three sides are given.**

** 20 INPUT “Enter length of first side of Triangle: ” ; X**

** 30 INPUT “Enter length of second side of Triangle: ” ; Y**

** 40 INPUT “Enter length of third side of Triangle: ” ; Z**

** 50 LET S = (X+Y+Z)/2**

** 60 AREA = SQR(S*(S-X)*(S-Y)*(S-Z))**

** 70 PRINT “Area of Triangle is: ” ; AREA**

** 80 END**

## -Algorithm:

**STEP 1 START**

** STEP 2 INPUT X,Y,Z**

** STEP 3 COMPUTE S = (X+Y+Z)/2**

** STEP 4 COMPUTE AREA = SQR(S*(S-X)*(S-Y)*(S-Z))**

** STEP 5 PRINT AREA**

** STEP 6 END**

**-Using GW-BASIC:**

**Using GW-BASIC emulator for Windows, I’ve made the following program:**

## -Output:

Output

“My posts/articles/images are not allowed to be stolen/copied anywhere at Cyber space. Doing so will allow me to take a legal action against the copier.”

Tags: algorithm to find area of triangle,

basic program to find the area of a triangle,

c program to find area of isosceles triangle,

c program to find area of triangle given 3 sides,

c program to find area of triangle using function,

c program to find area of triangle using heron's formula,

c program to find area of triangle with 3 sides,

c++ program to find area of triangle and rectangle,

c++ program to find area of triangle using class,

how to find area of triangle in c program,

java program to find area of triangle using constructor,

java program to find area of triangle when three sides are given,

program to find area of a triangle in c++,

program to find area of right angled triangle in c,

program to find area of triangle,

program to find area of triangle c++,

program to find area of triangle in c,

program to find area of triangle in c language,

program to find area of triangle in java,

program to find area of triangle using function in c,

program to find area of triangle using hero formula,

Program to find area of Triangle when three sides are given,

qbasic program to find area of triangle,

simple c program to find area of triangle,

simple program to find area of triangle in java,

vb program to find area of triangle,

write a basic program to find the area of a triangle,

write a program to find area of triangle in c++
this is helpful. thank you