Computer Science, asked by subhamneupane06, 7 months ago

write the program that expect the length and base of triangle and then calculate its area​

Answers

Answered by hclashok
1

Answer:

Python: Accept the base and height of a triangle and compute the area

Last update on September 01 2020 10:26:46 (UTC/GMT +8 hours)

Python Basic: Exercise-30 with Solution

Write a Python program that will accept the base and height of a triangle and compute the area.

Python: Area of a triangle

A triangle is a polygon with three edges and three vertices. It is one of the basic shapes in geometry. A triangle with vertices A, B, and C is denoted triangle ABC.

Vertex of a triangle: The point at which two sides of a triangle meet.

Altitude of a triangle: The perpendicular segment from a vertex of a triangle to the line containing the opposite side.

Base of a triangle: The side of a triangle to which an altitude is drawn.

Height of a triangle: The length of an altitude.

Python: Area of a triangle..

Similar questions