Closed harshraj8843 closed 2 years ago
Write a Python program that to compute area of trapezoid
Area of a trapezoid = ( base 1 + base 2 ) * height / 2
base 1
base 2
height
Base 1 = 5, Base 2 = 10, Height = 7
Area of the trapezoid = (5+10)*7/2 = 52.5
Base 1 : 5 Base 2 : 10 Height : 7 Area : 52.5
Hey @harshraj8843, I'd like to work on this one :)
Hey, I have opened a PR for this. Could you please check?
Hey @jongwon254
Thanks for contributing to this project 😃
Title of article
Write a Python program that to compute area of trapezoid
Area of a trapezoid = (
base 1
+base 2
) *height
/ 2Example:
Base 1 = 5, Base 2 = 10, Height = 7
Area of the trapezoid = (5+10)*7/2 = 52.5
Additional information
Code of Conduct