Computer Science, asked by singhdivya2005, 8 months ago

Write a python programme to compute simple interest and compound interest ​

Answers

Answered by Adesh216
0

Answer:

1. Take in the values for principle amount, rate and time.

2. Using the formula, compute the simple interest.

3. Print the value for the computed interest.

4. Exit.

Explanation:

principle=float(input("Enter the principle amount:"))

time=int(input("Enter the time(years):"))

rate=float(input("Enter the rate:"))

simple_interest=(principle*time*rate)/100

print("The simple interest is:",simple_interest)

above is for the simple interest.

Hope it help you, thanks.

Similar questions