SimpleInterest

    0

    0

    Mahendra Kumar

    basicMathsbeginner

    Program to calculate Simple Interest

    # 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 ))
    
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.