diff --git a/simple_interest.py b/simple_interest.py index 88d4325..ff86fa5 100644 --- a/simple_interest.py +++ b/simple_interest.py @@ -3,6 +3,6 @@ time = float(input("Enter the number of years for the investment: ")) # Simple Interest Calculation -interest = (principal * rate * time) +interest = (principal * rate * time)/100 print("The simple interest for an investment of", principal, "at", rate, "% for", time, "years is:", interest)