Python program to calculate simple interest

 # Calculate simple interest

principal = float(input("Enter principal amount: "))

rate = float(input("Enter rate of interest: "))

time = float(input("Enter time (in years): "))

si = (principal * rate * time) / 100

print(f"Simple Interest: {si}")


Comments

Popular posts from this blog

C Program to implement GAUSS' FORWARD INTERPOLATION FORMULA

c Program to implement GAUSS' BACKWARD INTERPOLATION FORMULA

Program to implement BESSELS INTERPOLATION FORMULA in C