(adsbygoogle = window.adsbygoogle || []).push({ google_ad_client: "ca-pub-2960223314593660", enable_page_level_ads: true }); Program to find the simple interest - TecGlance

Header Ads

Program to find the simple interest



=============== SIMPLE INTEREST==============



 p=input("Enter The Principal Amount :")

 n=input("Enter The No of Years      :")

 r=input("Enter The Interest Rate    :")

 i=n*p*r/100

 print "The Simple Interest is :",i







=========== OUTPUT =======================



 Enter The Principal Amount :500

 Enter The No of Years      :2

 Enter The Interest Rate    :10

 The Simple Interest is : 100



===========================================

No comments

Powered by Blogger.