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
Write a program to calculate amount payable after compound interest.
Write a program to compute (a + b)3 using the formula a3 + b3 + 3a2b + 3ab2
Write a program to calculate the area of an equilateral triangle. (area = (√3 / 4) * side * side).
Write a program to input the radius of a sphere and calculate its volume (V = 4/3πr3)