Closed harshraj8843 closed 2 years ago
Write a C 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
I can do this!
Title of article
Write a C 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