rem wap a programe using function procedure to calculate simple interest

Answers

Answer 1

Answer:

The program in Python is as follows:

def interest(P,R,T):

    [tex]I = P * R * T/100[/tex]

   return I

   

P = float(input("Principal: "))

R = float(input("Rate (%): "))

T = float(input("Time (years): "))

print(interest(P,R,T))

Explanation:

Required

Simple interest program using function

This defines the function

def interest(P,R,T):

This calculates the simple interest

   [tex]I = P * R * T/100[/tex]

This returns the calculated interest

   return I

The main begins here

These get inputs for principal, rate and time

P = float(input("Principal: "))

R = float(input("Rate (%): "))

T = float(input("Time (years): "))

This calls the interest function

print(interest(P,R,T))


Related Questions


1.can you identify the materials needed in making simple doorbell ???

2.what is the use of each material or tool needed in making simple doorbell?????

pakianswer po ng maayos​

Answers

Answer:

1. rotary tool, spray paint, light, drill,

Explanation:

what is the difference between coding with html and coding with python

Answers

Answer:

Python is an object-oriented programming language that is designed to be accessible and simple for all users, HTML is a web language and is used globally to define the structure of web pages by using various tags. HTML is not a programming language it's a markup language which is used to formatting web pages. Python is a general purpose scripting language which can be used to develop a wide range of programs.

For what purpose do the hackers create the zombies army?

A. DDoS Attacks
B. DoS Attacks
C. Warm Attacks

Answers

Answer:

A. DDoS Attacks

Explanation:

A zombie, in computer terminology, is a hacker, computer worm, trojan horse, or virus compromised internet connected computer, which can be remotely directed to perform malicious tasks

E-mail spams and denial-of-service, DoS attacks are spread and launched by botnets of zombie computers

Botnets which are also known as "zombie army", are used by hackers mainly for spam and distributed-denial-of-service, DDoS, attacks

While a DoS attack involves one machine, while a DDoS attack consist of multiple computing devices and machines

A botherder is the originator of a botnet and common botnets include Mr Black. Pushdo, and cyclone

complete the sentence: hexadecimal numbers use base ____

Answers

Hexadecimal numbers use base-16

Being a Base-16 system, the hexadecimal numbering system therefore uses 16 (sixteen) different digits with a combination of numbers from 0 through to 15. In other words, there are 16 possible digit symbols.

Select the correct answer.

Susan is a programmer and uses the hexadecimal number system to represent instructions. Which letters of the alphabet do you think Susan uses to represent the numbers 10 to 15 in this number system?

A. A to F

B. A to H

C. A to M

D. A to J

Answers

Answer is  Hexadecimal  :     A.   A to F

What is the Full form of DC?

Answers

Answer:

Deputy Commissioner.

Answer:

the full form of DC is deputy commissioner

State two pieces of information that need to be labeled on the idea development sketch. 1 .________________________________________________. 2 .___________________________________________.​

Answers

Answer:

Design drawings should show details on layout, measurements, plan, cross-sectional and vertical profiles. This information is prepared as scale drawings of the works to be constructed. they are legible  they include all information from previous revisions and updates.

Explanation:

Write a pseudocode to calculate the factorial of a number

Answers

Answer:

Answer CODE from C# Sharp  Language

Explanation:

using System;

namespace test

{

   class Program

   {

       public void silnia()

       {

           decimal liczba;

           decimal silnia = 1;

           Console.WriteLine("Obliczanie Silni ");

           Console.WriteLine("Podaj liczbę: ");

           liczba = Convert.ToInt32(System.Console.ReadLine());

           //liczba = int.Parse(Console.ReadLine());

           for (int i = 1; i <= liczba; i++)

               silnia *= i;

           Console.WriteLine("Wynik Silni Wynosi :  " +silnia +" \n ");

       }

       static Program ćwiczeniaA;

       static void Main(string[] args)

       {

           ćwiczeniaA = new Program();

           ćwiczeniaA.silnia();

       

           Console.WriteLine("Koniec Programu");

           System.Console.ReadLine();

       }                                

   }

}

A car manufacturer uses'simulation software during the design process for a new car. Which of the
following are reasons to use simulation software in this context?
1. Using simulation software can save the company money by helping to compare designs early in
the process, before prototype cars are built.
II. Using simulation software can help to identify safety issues by providing data about how different
mechanical components will interact in a wide variety of situations.
III. The manufacturer can present simulation software to customers to demonstrate different design
possibilities
А
I and II only
B
I and III only
С
II and III only
D
I, II, and III

Answers

D I,II and III is the answer i think

The reasons to use simulation software in this context are I, II, and III. The correct option is D.

What is simulation software?

The process of simulating a genuine phenomenon with a set of mathematical formulas is the foundation of simulation software. It is essentially a program that allows the user to simulate an operation and view it without really conducting it.

Simulation is a decision-making and decision-support tool. You can use simulation software to assess, compare, and optimize different designs, programs, and policies. As such, it can be used to explain and defend decisions to multiple stakeholders.

By allowing the corporation to evaluate concepts early in the process before prototype automobiles are constructed, simulation software can save the company money.

Therefore, the correct option is D, I, II, and III.

To learn more about simulation software, refer to the link:

https://brainly.com/question/16192324

#SPJ2

Describe how serial data access finds data

Answers

Answer:

Serial data access will go through all the data by order until the target data is reached

Explanation:

This is opposite of direct data access which immediately finds the desired

data

Answer:

Serial access works by accessing the data at the beginning and then working through it bit-by-bit until the end.

...

Examples of storage medium that use serial access are:

Video cassettes.

Music cassettes.

Backup tape cartridges(hold lots of tape for backing up large amounts of data)

In cell K2 enter a formula using the IF and OR functions, as well as structured references, to determine if Adam Moriarty can be a group leader. a. The IF function should first determine if the staff member’s Service Years is greater than 3 OR if the staff member’s college graduate status is "Yes". Remember to use a structured reference to the Service Years and the College Graduate columns.

Answers

Solution :

The value of the K2 cell is filled by IF and OR functions with structured references as :

[tex]K2=IF(OR([CBF\ \text{Staff[ Service years]} > 3, \text{CBF Staff[College graduate]}="Yes"),"Yes","No")[/tex]

Now if the syntax of the formula is not provided, then we can use :

[tex]$K2=IF(OR([[\text{Service Years}]]>3,[[\text{College Graduate}]]="Yes"),"Yes","No")$[/tex]

The staff member are required to satisfy one of the two or both the conditions so as to become a group leader. The conditions are :

---   staff member should served for more than 3 years

--- staff members should be college graduate

Other Questions
Which statement best describes the purpose of the first sentence in this paragraph what does not constitute copyright in your own written material whats 3x+34+23y=frezz Write a 16 - 20 line essay about my celebration and what it meant to me.Escribe un ensayo de 16 a 20 lneas sobre mi celebracin y lo que signific para m.Intro - State that I attended a wedding the week June 14-20. It occured in New jerseyBody - Recount the event (normal wedding things) - we all danced, lots of food, ceremony, relatives and family, photosConc - Say that this is a good memory because my family was there on good circumstances (a wedding) as opposed to a funeral. Do not see this family alot. Made me very happy.en espaol:Introduccin - Indique que asist a una boda la semana del 14 al 20 de junio. Ocurri en Nueva JerseyCuerpo - Cuenta el evento (cosas normales de la boda) - bailamos todos, mucha comida, ceremonia, parientes y familiares, fotosConc - Diga que este es un buen recuerdo porque mi familia estuvo all en buenas circunstancias (una boda) en lugar de un funeral. No veo mucho a esta familia. Me hizo muy feliz. 2.Based on the cash flows shown in the chart below, compute the IRR and MIRR for Project Erie. Suppose that the appropriate cost of capital is 12 percent. Advise the organization about whether it should accept or reject the project.Project Erie Time012345Cash Flow$12,000$2,360$4,390$1,520$980$1,250 Is 4 over 5 equals 48 over 60 a true proportion? 5.PART A: How does Mr. Woodifield's diction contribute to the reader's understandingof his character?A. He seems poor and uneducated.B. He seems pleasant and sympathetic.C. He seems distant and harsh.D. He seems flaky and distracted. explain why it is important for marketers to be able to measure the effectiveness of marketing activities. Read the excerpt from Thomas Paine's work "The Crisis" No. 1. Britain, with an army to enforce her tyranny, has declared that she has a right (not only to TAX) but "to BIND us in ALL CASES WHATSOEVER," and if being bound in that manner, is not slavery, then is there not such a thing as slavery upon earth.... ... Neither have I so much of the infidel in me, as to suppose that He has relinquished the government of the world, and given us up to the care of devils, and as I do not, I cannot see on what grounds the king of Britain can look up to heaven for help against us: a common murderer, a highwayman, or a house-breaker, has as good a pretence as he. The words "slavery," "devils," and "murderer" evoke a sense of O -anger and injustice. -fear and anxiety.-confusion and chaos. -guilt and shame. No Docs/No Files only real answer 5-star rated and I will give a brainliest Last question, so please help me out ASAP! Pls answer.. In 2011 and 2012, scientists working on the Banana River in Florida recorded a dramatic increase in the number of manatee deaths. Over the past 50 years, this area has also seen the human population increase by more than 500,000 people. It is believed that pollution from numerous sewage tanks leaked into the water, eliminating the manatees' food source, replacing it with an alga that is toxic to the manatee. This is an example of A) a natural cycle in an ecosystem B) the effect of increased biodiversity on an ecosystem C) human actions altering ecosystems with serious consequences D) direct harvesting in an ecosystem Phillip wants to estimate how many words are in a book he is reading for class. He counts the words on 21 pages, and he finds the mean word count is 311 words per page. There are 196 pages in the book. Which is the best estimate for the total number of words in the book? Melanie has had a recent cold with symptoms of runny nose, sneezing, coughing, congestion, and malaise. Today, she is concerned that she has a sharp pain in her chest. She goes to see her health care provider, and is diagnosed with costochondritis, an inflammation in the cartilage between the ribs. From your reading related to cellular injury and adaptations as well as inflammation, answer the following questions:a. What anatomic problem most likely leads to costochondritis?b. What is the injury in costochondritis?c. What would the acute inflammatory response look like? What is the answer for this NEED HELP FAST ILL MAKE BRAINLIEST Jenna's English teacher tells her that there are 5 vowels in the alphabet. Based on this information, Jenna states that given any word in the English language, the probability of randomly choosing a vowel from among the word's letters is 5/26.Explain the flaw in Jenna's reasoning.Provide a word where the probability of randomly choosing a vowel from the word's letters is 1/2. the bag of skittles has 3 parts red skittles , 5 parts yellow skittles and 7 parts orange skittle. Represent this ratio three ways;visually, using ratio notation and using fraction notation A battery with a voltage of 3 V provides a voltage of 0.56 C to some circuits. Calculate the electrical power provided by this battery Explain how over cultivated land can increase the risk of flooding