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

In 3–5 complete sentences, thoroughly explain how your protagonist changes from the beginning of the story to the end in your Module One short story? Provide at
Why was sharecropping created during Reconstruction (after the Civil War)?
what is land degradation​
Item marked price 900Rs and sold at 700. What is Discount percentage
What is the ratio of cups of flour to number of eggs? a 3:5 b 5:1 c 5:3 d 1:5
Post-Test 1 8. One brand of canned salmon is sold in four different sizes. The 7-ounce can costs $3.49. The 16-ounce can costs $6.49 The 24-ounce can costs $8.4
what is the cube root of 125 pls I need help asap this needs to be done in 1 hour
Change the following in compound sentence Opening the gate, the man came in.​
The radio of trapezoids to triangles is
Help me do this cause me bad at math i dunno how