'''

Karen Sommer

CS 521 Spring 2021

Assignment 2

Problem 33 and 78

'''


#If the lengths of the two parallel sides of a trapezoid are X meters and Y meters,
#respectively, and the height is H meters, what is the area of the trapezoid?
#Write Python code to output the area.

x=10
y=5
H=6

areaTrap = ((x + y) / 2) * H
print('Area of trapezoid',areaTrap)
