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

Round 2.77247497243 to the nearest millionth.
A student pushes a box with a force of 20 N to the right and another student pushes the box with a force of 5 N to the left. What is the net force and directi✧
Angle A is supplementary to angle B. If A. 40 B. 85 C. 5 D. 10
In the presence of oxygen, all cells synthesize ATP via the process of glycolysis. Many cells also can metabolize pyruvate if oxygen is not present, via the pro
PLS HELP ME AND MY TEACHER ARE ON A 1 ON 1 CALL HELP ASAP
There are a total of 63 bikes at a sports shop. If 18 bikes are blue, what is the ratio of blue bikes to black bikes?
an astronaut tosses a rock on the moon. what force acts on the rock during its curved path
45 is what percent of 90 i miss clicked on the last one and put 9 it’s 90 i have to show work
What’s the missing side length?
Plz answer I’ll give a brainliest!!! Look at image