Simple Interest Calculator
print("\n\t Simple Interest Calculator ")
princ = int(input("\n\t Enter Principle Amount = "))
years = int(input("\n\t Enter Number of Years = "))
rate = float(input("\n\t Enter Rate of Interest = "))
si = (princ * years * rate)/100
amt = si + princ
print("\n\t Simple Interest of",princ,"for",years,"years at rate of ", rate ,"is",si)
print("\n\t Total Amount = ", amt)
Comments
Post a Comment