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

What is the volume of the solid figure below? 1. 88 cm3 2. 76 cm3 3. 38 cm3 4. 42 cm
Write news about the beauty of the environment.​
The table shows the heights of three monster trucks. Bigfoot 5 is 4.9 feet taller than Bigfoot 2. Write and solve an addition equation to find the height of Big
What could be an advantage and a disadvantage of having two political parties?
HELP ME PLEASE IF YOU DO I WILK GIVE YOU POINTS THANK YOU SO MUCH
The asymptote of f(x) = 5(2^x) * (Type an equation.)
Why should an athlete recovering from injury or exercise consume protein and simple carbohydrates? Simple carbohydrates provide long-term energy. Proteins provi
BRAINLIEST (Must be fastest and answer must be correct with a simple explanation how you know this is right.)Which of the following is NOT one of the Five Pilla
Flower position is an example of which of the following? A) Character B) Genotype C) Trait
__________ are the most-utilized method of transporting goods within the United States. A. Airplanes B. Trains C. Freeways D. Ships Please select the best answe