Computer Science, asked by sakshidkamble2003, 1 month ago

Q.1. Calculate area of of a triangle. Perform using procedure and function. ​

Answers

Answered by kdas83123rishu
0

Answer:

Explanation:

The formula for calculating the are of any triangle is 1/2 × base × height

so, lets take an example (refer the picture)

here, the height of the triangle is 6 cm and the base is 18cm.

area of triangle = 1/2 × base × height

\\\frac{1}{2}X18X6\\\frac{18X6}{2} \\\frac{108}{2} \\54

Attachments:
Similar questions