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 s for silicon tetrachloride Sicl4?
Solve for x. PLEASE HELP ASAP
A small motorboat travels 12mph in still water. It takes 2 hours longer to travel 46 miles going upstream than it does going downstream. Find the rate of the cu
Which is abiotic? tree sap insect sunlight tree stump
On a vehicle with a manual transmission if you do not operate the clutch properly you could?
What is the net energy gain when 1 molecule of glucose from glycogen stores is converted to lactate?
Fill in the blank, in the sentence below, with the present tense form of the Spanish verb that means "to repeat." El profesor _________ las palabras de vocabul
Add 77 -10 with its additive inverse.​
48. Which of the following (a) KCI (b) NaCl is called Sylvine? (c) CaCl₂ (d) MgCl₂​
Which reason best explains why "The Beginnings of the Maasai” can be classified as a myth?