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

How thick are some of the ice caps over Antarctica? 100 feet 500 feet 1 mile 2 miles
When Germany began World War II in 1939, a secret agreement with the U.S.S.R. allowed Soviet troops to __________. A) occupy eastern Poland B) annex eastern Cze
Which substance can not be broken down by a chemical change? (1) methane (3) tungsten (2) propanal (4) water
is it possible for ones persons weight to be 200% more than another persons weight
Determine the total mass of I2 in 25 grams of this typical tincture of iodine.
Explain how heat inside Earth causes plate tectonics:
What did the Monroe doctrine do for the u.s.and europe
The total number of sodium atoms in 46.0 grams of solution is?
which equation has the same solution as 2x^2+x-3
Why does Mr. Jabez Wilson write so much in "The Red-Headed League"? A. He is filing a police report. B. He is copying an encyclopedia. C. He is a tax lawyer. D.