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

Zoe has 1500 bees Zoe wants to make six friendship bracelet she needs do you want jeep 15 beads for each bracelet how many beads Wilso we have a lab after makin
what was used to teach children how to count and read? (8 letters)
Manufactured goods fall under which distinct industry category
An ecological pyramid is sometimes used to show both the flow of matter and energy in an ecosystem. The pyramid narrows as matter and energy flow from the botto
How did artists and writers capture the effect of the great depression?
what does ice become when it absorbs enough heat energy. C. Frost. D.Liquid
A long spring is attached to a wall. A student generates a pulse 20cm high. When the pulse hits the wall it bounces back upside-down. If a student creates anot
What are the colonial languages spoken in Sub-Saharan Africa?
Hill is known for working out reactions taking place during the _____ of photosynthesis. A. light reaction B. dark reaction
My friend marilyn enjoyed the tour of the cavern. which of these words or phrases in the sentence is an appositive?