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

In the Winter Olympics, an ice skater may lift his partner high above his head. A typical female ice skater weighs 400 N, and the male can usually lift her 1.4
what is the smallest integer that gives rest to : 19 when you divide by 20 20 when you divide by 21 34 when you divide by 35plzzzz
What important natural resource did the Songhai Empire control?
Who shared common beliefs with Frederick Douglass, William Lloyd Garrison, and John Brown? (Points : 3) Abolitionists Fugitives Liberators Democrats
5. Choose one of the topics listed below and write a five-sentence paragraph using chronological order to arrange the details of the paragraph. a. Signing on to
Most management problems can be prevented by carefully defining the areas of:
What important natural resource did the Songhai Empire control?
What powers did colonial governments have in the 18th century?
Forbidden to ship their products to English markets, this group immigrated to the U.S. and became the second largest European group to do so. Germans French Dut
What is a safety precaution that should be taken when investigating the electrolysis of lead bromide?