Computer Science, asked by haider4004, 1 year ago

Algorithm for calculating area of a triangle

Answers

Answered by jishanali4u
4

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.


jishanali4u: Add my answer as Brainlist user
Similar questions