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

help me and I’ll give you brainliest
Who was the first European to reach the shores of New Zealand, and why was he not able to go on land?
Help pls within 5 mins will mark brainliest
After opening the tap, the vessel is filled with water for 17 minutes. Which part of the container will be filled with water in 2 minutes?​
Heat generated by Friction A.Caused by Electromagnetic waves B. Caused by mixing to substances together C. Caused by the force of two opposing motions D. None o
Why are you interested in from the warmth of the other suns poem? Write one to three complete sentences explaining what it is about the selection that caught yo
please help with the question linked below, giving out brainiest!
Duncan is investigating if residents of a city support the construction of a new school. He is curious about the difference of opinion between residents in nort
What happens to the Cl atom when it becomes part of a stable molecule NaCl?
write a poem of 14 lines