Q. Write a program to calculate amount payable after compound interest.
Answer =
p = float(input("Enter principal amount :-")) r = float(input("Enter Rate :-")) t = int(input("Enter time :-")) com = p * ( (1 + (r / 100 ))** t ) - p print("amount payable =" , com + p )
Post a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )