- Get link
- Other Apps
Posted by
Naveen M K
on
- Get link
- Other Apps
Calculate Simple Interest
![basic programming python calculate simple interest](https://1.bp.blogspot.com/-Im7f5gmqbwk/XgCQSJslALI/AAAAAAAAcYw/wHSeO3PuQqo2Mj0Sv7vI2a6bq-9qT-weQCLcBGAsYHQ/s1600/basic%2Bprogramming-2.png)
Coding
#Calculate Simple interest
p=int(input('Type your principle amount : '))
ir=int(input("Type your rate of interest : "))
t=int(input(" Type time (in year) : "))
si=(p*ir*t)/100;
print("You will get interest : %s"%si)
This will ask for principle,rate of interest and time and print the simple interest
Comments
Post a Comment