Write an algorithm to help the architect find
the area of the largest trusses.
Input
The first line of the input consists of two space-
separated positive integers - b1, h1,
representing the base and height of the first
trusses
The second line consists of two space-
separated positive integers - b2, h2,
representing the base and height of the second
trusses.
Output
Print a real number representing the area of
the largest trusses rounded up to 6 decimal
places.
Constraints
O s b1 h1, 62, 62 s 100
Example
Input
6.10
Output:
30.000000
- 10.000000((+*572)
Answers
Answered by
13
Answer:
The input consists of two space-separated
integers - firstNumber and secondNumber,
representing the two numbers entered by the
user. Both numbers are considered in the
Similar questions
Hindi,
1 month ago
Math,
1 month ago
History,
1 month ago
Math,
3 months ago
Political Science,
3 months ago
Science,
9 months ago
Social Sciences,
9 months ago