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

Arrange the steps in order to describe what happens to a gas when it cools.
Henry buys a yacht for 150 000 euros, the yacht depreciates in value by 18% each year. Work out the value of the yacht at the end of 3 years.
Explain how to determine the angle measurement for this angle. pls don't fail me now
233 + 628 I want this answer please THX
3. Which gas is released by the plants?
5) Write the slopes of a line parallel and perpendicular to the line y= -2/5x+6 (Hint: 2 answers) 1 What is current aradan​
Based on events in "The Treasure of Lemon Brown," how will Greg and his father's relationship most likely change?
Question 5 7.7 pts If f(x) = 3x^2 and g(x) = V2x, what is the value of (f•g)(8)?
What membrane bound organelle in eukaryotes will be a "big deal" in terms of aerobic cellular respiration?
A car travels for 4 hours at an average speed of 45mph and then 6hours at an average speed of 35mph. Work out the distance travelled.