# store the inputs
      P = float(input('Enter principal amount: '))
      R = float(input('Enter the interest rate: '))
      T = float(input('Enter time: '))
      # calculate simple interest
      SI = (P * R * T) / 100
      # display result
      print('Simple interest = ',SI )
      print('Total amount = ',( P + SI ))
      

      Python language logoSimpleInterest

      basicMaths
      beginner

      Program to calculate Simple Interest

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.