Computer Science, asked by drishyakantony, 6 months ago

Calculate simple interest using the formula I=P*N*R ,where P is the principal amount,

N is the number of years and R is the rate. Accept the values of P,N,R from the user in python​

Answers

Answered by anindyaadhikari13
3

Answer:-

This is the program to calculate simple interest.

p=float(input("Enter the principal: "))

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

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

si=p*r*t/100

print("Simple Interest is: ",si)

Answered by BrainlyProgrammer
3

Answer:

This program is an extract of java program to calculate simple interest...

double p=sc.nextDouble() ; //principal

double r=sc.nextDouble() ; //rate

int t=sc.nextInt() ; //no. of yrs

double si=0.0;

si=(p*r*t) /100;

System. out. println("Simple interest="+si) ;

Similar questions