Python Program to calculate compound interest
p=int(input('enter principle amount'))
r=int(input('enyer rate of intrest'))
t=int(input('time of intrest'))
ci=p*(1+r/100)**t
print('compound intrest',ci)
p=int(input('enter principle amount'))
r=int(input('enyer rate of intrest'))
t=int(input('time of intrest'))
ci=p*(1+r/100)**t
print('compound intrest',ci)
Comments
Post a Comment