Tom is very weak at maths, his teacher gave him a simple problem of dividing two numbers but as usual Tom is having difficulty solving the problem. Can you help tom solve the problem ?

Teacher has given him 3 numbers a, b and c. The task is to divide a by b and write the answer upto c decimal places.

Input:

The first line of input contains an integer T denoting the number of test cases.
Each line of test case contains 3 numbers a, b and c as described in the question.

Output:

For each test case, output the required division of a/b upto c decimal places.

Constraints:

1 ≤ T ≤ 100,

1 ≤ a,b ≤ 100000

0 ≤ c ≤ 100000

SAMPLE INPUT
3
21 4 0
5 4 3
22 7 10

SAMPLE OUTPUT
5
1.250
3.1428571428
import sys
t = int(raw_input())
while t>0:
    t-=1
    a,b,c = map(int,raw_input().split())
    k = int(a/b)
    sys.stdout.write(str(k))
    if c>0:
    	sys.stdout.write(".")
    rem = a-b*k
    i=0
    while rem!=0 and i<c:
        rem*=10
        a=rem
        k = int(a/b)
        sys.stdout.write(str(k))
        rem = a-b*k
        i+=1
    while i<c:
        sys.stdout.write("0")
        i+=1
    print