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

Consider the following first order decomposition reaction with a half-life of 65 seconds at a given temperature: N2O4 (g) → 2 NO2 (g) Under these conditions, if
large molecules made of many small subunits
Please helpThis urgent
Social studiesMakePeopleTheyAreWhatIsAboutWhoMake 1 sentence with all of these words.​
Why was causing a tree to fall on a neighbor's vehicle, causing thousands of dollars of damage, a criminal offense? Having agreed to cut down the trees, the def
List the features that are used to classify dragonflies to the family level.
Identify each image. Follow the model.QuestionsModèlelaptop with blue screenC'est un ordinateur.Question 1 with 1 blankdesks with chairs1 of 1Question 2 with 1
Describe Jan van Eyck’s painting technique and style
A number is less than 15"
we grow rice in these field.what is subject object and verb​