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

Which top level domain would you choose as a source for the most reliable information? A. .gov B. .com C. .net D. .org
. Why did Great Britain wish to control the American colonies?
A square piece of cheese covers 8 square inches of a plate. What is the approximate length of one side of the piece of cheese? (Approximate to the nearest hundr
help pls i need the answer ⊕⊕ ω
PLEASE HELP!!! I REWARD BRAINLIEST! plz no silly answers i grinded for these points
How do you find the ratio of x and y coordinates
Which of the following best describes what made the northeast passage impassable? A. flooding B. animal predators C. heavy ice and snow D. it was on enemies la
Find the slope of the line through the given points. (-1,-6) and (1.4)
I NEED THIS ASAP ILL GIVE YPU BRAINLIST!
m<GFN = 4x+10, m<NFE = 14x + 3, and m<3GFE = 157°. find m<NFE​