Write an algorithm for perimeter of triangle
Answers
Answered by
3
At=area of triangle
b=Bredth ,h=height.
Formula=0.5×b×h.
Algorithm:
-Step 1:-Start.
Step 2:-Declare at,b,has float.
Step 3:-Initialize value of b and h.
Step 4:-Calculate at 0.5×b×h.
Step 5:-print area of triangle .
Step 6:-End.
Make a flowchart with the help of algorithm.
Similar questions