Triangle Height

아직 제출이 없습니다시간 제한1초메모리 제한1024 MB

문제

Your Math teacher asked you to write a program to help him generate homework solutions. The program will need to find the height of a triangle given its area and its base length.

Formula:

  • a = (h*b)/2 (a – area, b – base length, h – height)

입력

The first line will contain a single integer n that indicates the number of lines that follow. Each line will include the area and base length of a triangle with the two values separated by a single space.

area base

출력

For each input display the height of the triangle with 2 decimal places, in the following format:

The height of the triangle is #.## units