Time Limit: 1 sec
If height is H and width is W
Then the area of a Rectangle is H * W
If we draw a Triangle into the Rectangle then
The Area of a Triangle is ½(rectangle area)
*The width is 4 times of height
The input file contains a series of line. Each line contains a floating number Height, H (H <= 9999.99). Input is terminated by EOF.
For each line of input the output will show the Area of Rectangle rounded to 2 decimal points and ceiling points of Triangle.
Area of Rectangle: 4002000.25
Area of Triangle: 2001001
Area of Rectangle: 397223235.81
Area of Triangle: 198611618
Problem Setter: Samia Safa Ahmed