Write a python program to Calculate compound interest.
P = float(input("Enter Principle Amount :"))
R = float(input("Enter Rate of Interest :"))
T = float(input("Time (in Years)"))
n = float(input("Number of times interest is compounded per year :"))
CI = P * (1+ (R/100*n))**n*T
print("Compound Interest :",CI)
Comments
Post a Comment