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

Calculate volume of an object with a mass of 655g and density of 2.54g/ml
A system that has all necessary features but is inefficient is an example of a ________ prototype.
find angle 3,6,and 5 thankssss …………
A nurse is completing an apgar score on a newborn. what is assessed when obtaining an apgar score? what does a score of 5 indicate?
Found to the nearest tenth 2.26795
Place the following cellular bonds in order from strongest to weakest (1 being strongest, 4 being weakest) Non-polar covalent lonic Hydrogen Bonds Polar Covalen
Find the Value of X. Name the angles.
0.71428571428 as a faction
Individuals who notice opportunities and gather the resources necessary to start a new business are known as?
phase change heat and change os state