322 - Trapezium
Trapezium
Time Limit: 1 sec
The Problem
A Trapezium’s has two parallel side. From this two parallel sides One Side and Height is given. Other Side is 2 times of One Side.
Your task is to find the Area of Trapezium.
The Input
Input file contains a series of line. Each line contains two integer number One side of the Trapezium, A (A<=10000) and height of the Trapezium, H (H<=10000). Input is terminated by EOF.
The Output
For each line of input output will show the Area of Trapezium, rounded to 2 decimal points in a separate line.
Sample Input
10000 10000
1234 1234
333 333
Sample Output
150000000.00
2284134.00
166333.50
Problem Setter: Samia Safa Ahmed