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

describe John Muir’s relationship with nature in “The Calypso Borealis.” in a paragraph using evidence from the text.
For which reasons did New France grow slowly?
After a flood, people should guard against A) many days of bright sunshine. B) a period of prolonged drought. C) the chance of water-borne diseases. D
How much did the national debt increase during World War II? A) 5 percent B) 60 percent C) 100 percent D) 500 percent
What is the area of the shaded region PLEASE HELP ASAP ILL RATE BRAINLIEST
25% of total mangoes which are rotten is 1250. Find the total number of mangoes in the basket. Also , find the number of good mangoes.
what is the voltage between points B and D in the fivure above ​
Please help with a mathematics question
we are the victims of the worlds most comprehensive robbery life demands a balance its all right if we do a little robbing now what does she mean and do u agree
x=-2y-3 4y-x=9 determine the point of intersection of each pair of lines if one exists. ​