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

To make curtains for a living room window for a customer, you will need three pieces of fabric in the following lengths: 3 feet, 3 feet, and 5 feet. What is th
Douglas wants to draw a circle graph showing the favorite colors of his friends. When he polled his friends asking each their favorite color, 25% of his friends
How do figure out 120/f = 1.2?
The line with equation ax+by=20 passes through the points(-2,10) and (1,5)find a and b
contrasting: how some Jews differ in their beliefs about Jesus ?
I am so confused about this graphing problem, just need answer doesn't have to show workRectangle ABCD has a length of 9 and a width of 7. Point D is the ordere
How many seconds in 2.6 days
what is the ordered pair solution for;x + 2y = 53x - y = 1
The volume of a cylinder with height to radius ratio of 4:1 is 108 pie centimeters cubed. Find the radius and height of the cylinder.
What is the sales rate for 5% of $50