Question: Find the errors in the given program and rewrite the correct program p = float(input(Enter the principle amount : )) r = float(input(Enter the rate

Find the errors in the given program and rewrite the correct program

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

r = float(input("Enter the rate of interest : ")

t = float(input("Enter the time in the years: "))

si == (p*r*n)/100

print("Principle amount: ", p)

print("Interest rate : ", r)

print("Time in years : ", t)

print("Simple Interest : " si)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!