

1. It is guaranteed that division X / Y is always finite.
Consider X = 5, Y = 4 and N = 5, then you should return “1.25000”.
Note, here we add 3 trailing zeros so that it has exactly 5 digits after decimals.
The first line of input contains an integer ‘T’ denoting the number of test cases, then ‘T’ test cases follow.
The first and only line of each test case consists of three space-separated integers, ‘X’, ‘Y’, ‘N’ respectively.
For each test case, print in a separate line, a string representing the value X / Y up to ‘N’ decimal places, and it must have ‘N’ digits after decimals.
You do not need to print anything, it has already been taken care of. Just implement the given function.
1 <= T <= 50
-10^8 <= X <= 10^8
-10^8 <= Y <= 10^8
Y != 0
1 <= N <= 10^4
Time limit: 1 sec
Following is the detailed algorithm :
Pair Product Div by K
Pair Product Div by K
Merge Two Sorted Arrays Without Extra Space
Merge Two Sorted Arrays Without Extra Space
Co-Prime
First Digit One
Special Digit Numbers