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

will choose brainliest!
Which contribution did George Mason make to the United States Constitution?
Discuss the Social political background of Greek theatre
Impact of South Indian high pressure cell and South Atlantic high pressure cell on movement of cyclone​
three examples of rewards the hero could receive
what is meaning of Ray​
please help ill mark
How did the interpretation of the Bill of Rights change in 1947
Which statement proves that quadrilateral HIJK is a kite? HI ⊥ IJ, and m∠H = m∠J. IH = IJ = 3 and JK = HK = StartRoot 29 EndRoot, and IH ≠ JK and IJ ≠ HK. IK in
What are the solutions to the equation open absolute value I x-3 I = 14? Question 1 options: x=11 only x=17 only x=-11 and x=11 x=-11 and x=17