ashah122205 ashah122205
  • 01-12-2020
  • Computers and Technology
contestada

What kinds of circumstances would lead you to writing a function versus using a loop? please explain in simple terms

Respuesta :

handsomesquid807
handsomesquid807 handsomesquid807
  • 02-12-2020

Answer:

1. You want to use parameters

2. You don't want your program to run multiple times

3. You want to call that snippet of code throughout your program

hope this helped :D

Answer Link

Otras preguntas

Drugs that speed up the functioning of the nervous system are called ________.
What is one of the five characteristics of life
in a book 3/8 of the pages have pictures on them.Given that 72 pages have a picture on, work out the number of pages in the book.
Which kingdom is MOST LIKELY to contain organisms that are decomposers? A) Kingdom Fungi. B) Kingdom Eubacteria. C) Kingdom Animalia. D) Kingdom Plantae.
What does the statement describe
What is Dickens's object of social criticism in this excerpt from Hard Times? A. a system of education that treats children like machines B. the lack of
How did the development of the Bessemer process affect the growth of cities? A. It enabled the mass production of steel, which was used to build new factories.
What vegetable is carved and judged at a festival in oaxaca?
The use of learning techniques to modify or change undesirable behavior and increase desirable behaviors is called
800x200 I know the answer is 160000 but I want to see how quick you guys answer...