write a program the print the calculated compound interest and amount when principal , rate and time is taken as input from the user by using input stream
CI=(p*(i+r/100)t
A=P+CI
Answers
Answered by
1
Answer:
python 3
# Python3 program to find compound
# interest for given values.
def compound_interest(principle, rate, time):
# Calculates compound interest
CI = principle * (pow((1 + rate / 100), time))
print("Compound interest is", CI)
# Driver Code
compound_interest(10000, 10.25, 5)
Output:
Compound interest is 16288.9
Explanation:
if you are pleased with answer in turn
please subscribe my youtube chanel(Ramakrishna Nallangari youtube channel) for my effort
search for nallangari in google and find ramakrishna nallnagari and then click it and subscribe
Similar questions