prettygirlsrock013 prettygirlsrock013
  • 02-03-2021
  • Computers and Technology
contestada

Write a program code in the python programming language to find simple interest given the
formula SI = (P*R*T)/100.
Read P(Principal), R (Rate), T (Time) from the keyboard and Calculate Simple Interest (SI).

Respuesta :

60002135330 60002135330
  • 02-03-2021

Answer:

p = float(input('Principal: '))

r = float(input('Rate: '))

t = float(input('Time: '))

si = (p * r * t) / 100

print(si)

The "float" before the input in the first 3 lines is so you're able to input decimals. If you're not using decimals, you can switch the "float" to "int". However, if you input a decimal number after you switched to int, you will receive an error

Answer Link

Otras preguntas

What was George Washington's nickname?
a woman lifts a 300 newton child a distance of 1.5 meters in 0.75 seconds. What is her power output in lifting the child?
HELPPPPP 35% OF GRADEEEEE.... When John bought his new computer, he purchased an online computer help service. The help service has a yearly fee of $25.50 and a
I want to work with LDAP. what is LDAP?
How do you put allele in a sentence
What is the domain of the relation {(2, 8), (0, 8), (–1, 5), (–1, 3), (–2, 3)}?
accurate estimation 719-348
What is the diameter of a circle whose circumference measures 86 26/35? Use pi= 22/7
How do you put allele in a sentence
Explain why applying a vertical translation and then a horizontal translation produces the same result as applying a horizonatal translation and then a vertical