InterviewSolution
Saved Bookmarks
| 1. |
Write a program to import the principle amt., rate of interest and time and calculate the simple interest |
Answer» Question:-Write a program to enter the principle amt., rate of INTEREST and TIME and calculate the SIMPLE interest. Program:-This is written in PYTHON. p=float(input("Enter principal amount: ")) R=float(input("Enter the rate of interest: ")) t=float(input("Enter the time: ")) si=p*r*t/100 print("Simple Interest is: ",si) |
|