2.9k views
2 votes
Find the area of triangle by algorithm​

1 Answer

6 votes

Area of triangle

b=Base ,h=height.

Formula=1/2×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 1/2×b×h.

Step 5:-print area of triangle .

Step 6:-End.

User Fuzzi
by
3.5k points