Python program to calculate compund 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

Program in c to display calendar corresponding to given year

C Program for Circular Queue implementation through Array

C Program to implement NEWTON'S BACKWARD METHOD OF INTEROLATION