1450: 求梯型面积

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:14204 Solved:5911

Description

输入梯型的上底、下底和高,求梯型的面积.

一个运行样例:

Please input a,b,h:2.6 3.4 3.0

a=2.60 b=3.40 h=3.00

s=9.0000

Input

梯型的上底a、下底b、高h

Sample Input Copy

2.6 3.4 3.0

Sample Output Copy

Please input a,b,h:a=2.60 b=3.40 h=3.00
s=9.0000