This content originally appeared on DEV Community and was authored by PERUMAL S
Create a program that calculates simple interest. Take the principal amount, rate of interest, and time period as input.
Ans
a=float(input("enter your total loan amount :"))
b=float(input("total months :"))
if (b>=1):
d=(b*(a*0.02))
result=(a+d)
print("your total paid amount",result)
print("intrest amount",d)
This content originally appeared on DEV Community and was authored by PERUMAL S
PERUMAL S | Sciencx (2024-07-16T17:53:47+00:00) Task 3 Qsn-9. Retrieved from https://www.scien.cx/2024/07/16/task-3-qsn-9/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.