def compoundInterestFutureValue(p, r, c, n):
    """Compound interest future value
    
    Returns: future value
    
    Input values:
    p : principal
    r : interest rate
    c  : number of compounding periods in a year
    n  : (c * t) , total number of compounding periods
    """
    fv = (p * (1 + (r / c))) ** n
    return fv