409348: GYM103488 B Boboge and Tall Building
Description
Boboge lives on the $$$n$$$-th floor of a building with a total height of $$$k$$$. This building has $$$m$$$ floors and each floor is of equal height, the height of first floor is $$$0$$$.
You have to calculate the height of the floor Boboge lives in.
The first line contains an integer $$$t(1\le t\le 100)$$$ — the number of test cases.
Each test case is described by three integers $$$n, m, k(1\le n,m,k\le 100, n\le m)$$$ — the floor Boboge lives in, number of total floors and total height of the building.
OutputFor each test case, output the height of the floor Boboge lives in. Your answer will be accepted if absolute or relative error does not exceed $$$10^{-6}$$$. Formally, let your answer be $$$a$$$, and the jury's answer be $$$b$$$. Your answer is considered correct if $$$\frac{|a-b|}{max(1,|b|)}\le 10^{-6}$$$.
ExampleInput3 3 4 10 1 4 10 2 3 10Output
5.0000000000 0.0000000000 3.3333333333