KnowledgeBoat Logo

Computer Science

Write a program to calculate amount payable after simple interest.

Python

Python Data Handling

33 Likes

Answer

p = float(input("Enter principal: "))
r = float(input("Enter rate: "))
t = float(input("Enter time: "))

si = p * r * t / 100
amt = p + si

print("Amount Payable =", amt)

Output

Enter principal: 55000.75
Enter rate: 14.5
Enter time: 3
Amount Payable = 78926.07625

Answered By

17 Likes


Related Questions