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

14. Classify the figure below. Identify how many faces, vertices, and edges.​
What would occur if the transitional epithelium of the excretory system could not expand? (2 points) Infrequent urination, because more urine could be stored In
In Dred Scott’s court case, Scott argued he should be free because he had lived in a. Missouri and Maine. b. California and Virginia. c. Kansas and Nebraska. d.
Which group of coefficients balances the following chemical equation? 2KCIO3 → _KCI + _O2 a 1, 3 b 2,2 C 2,3 d 2.1 e 1, 1​
1 3 16 Which expression is equivalent to 3/64a6b7c9? O zabo (V4a?b°c) 4a²b2c (VD Baºbc* (V50 Ba?b%cº (PD)
Which are affected by the factors of production? Choose three answers. the demand of the item the availability of the item the cost of the item the quality of
Whats a aerial photograph?
Assignment for Blood vesselsDisorders(Atherosclorosis and varicos veins)​
What's the equation for a circle of (2,-5) and a radius of 2
What is the oxidation number of iron in FeO?