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 is formed when atoms join together with a covalent bond?
Please help numbers 2-20 evens only
A car travels for 18 minutes at an average of 72km/h. How far will the car travel in 18 minutes?
In economics, the cost of something is a. always measured in units of time given up to get it. b. the dollar amount of obtaining it. c. what you give up to get
A splintered or crushed bone
10. * - 7 = 11 Transfo
A group of students were surveyed about their interest in a new International Studies program. Interest was measured in terms of high, medium, or low. 30 studen
3. In __________ for German attacks on their cities, the French bombed the German city of Baden. a. omnivorous b. multifarious c. reprisal d. decrepit 4. He ___
a quadratic function that has the vertex (-2, -4) and passes through the point (-1, -6)
Which ratio is proportional to 6 yards at 3.90