Algorithm and Flowchart to find perimeter and area of triangle?
Answers
Answered by
17
Algorithm & Flowchart to find Area & Perimeter of Triangle
(when three sides are given)
A : First Side of Triangle
B : Second Side of Triangle
C : Third Side of Triangle
AREA : Area of Triangle
PERIMETER : Perimeter of Triangle
Algorithm
Step-1 Start
Step-2 Input Sides of Triangle A,B,C
Step-3 S= (A + B + C)/ 2.0
Step-4 AREA = SQRT(S x (S-A) x (S-B) x(S-C))
Step-5 PERIMETER = S1 + S2 + S3
Step-6 Display AREA, PERIMETER
Answered by
1
Answer:
algorithm and flowchart of find Area and volume of cylinder
Similar questions