• + 0 comments
    def Geometric(n,p):
        return (1-p)**(n-1) * p
    
    nume,deno = list(map(int,input().split()))
    n = int(input())
    print(f"{Geometric(n,nume/deno):.3f}")