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

How can edge computing be used to improve sustainability brainly.
Please help with this real quick, its in attached image..
HELP :)Find the Domain and Range of the following Relation.(Add 1 space after your domain answer)1. {(3,5), (4,15), (5,20), (6,25), (7,30)2. {(-1,2), (-1,4), (-
What was one result of the War of 1812? European governments respected America. America needed more soldiers and ships. European governments wanted to help Amer
Sorry about the picture quality on this app for pics just isn’t it for me lol (NO LINKS)
White shapes and black shapes are used in a game. Some of the shapes are circles. All the other shapes are squares. The ratio of the number of white shapes to t
Can someone plz help me ​
If A= 25 and B= 4 what would A × B + A=
explain the term pranayama of yoga.
what should the internal temperature of meatloaf be?