Advertisement
aneliabogeva

Untitled

Apr 15th, 2019
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.10 KB | None | 0 0
  1. b1 = float(input())
  2. b2 = float(input())
  3. h = float(input())
  4.  
  5. area = (b1+b2)*h/2
  6.  
  7. print(f"{area:.2f}")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement