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 were the stock market crash and the collapse of the banking system related
Why were freedmen eager to attend the schools created by the Freedmen's Bureau during Reconstruction?
Which of the following accords between the united states and great britain limited naval forces and guaranteed no invasions would occur along the canadian borde
Which is an example of a solution? A. tea B. milk C. salad dressing D. salad
1.901, 1.091, 1.9, 1.991, 1.919, 1.019 from least to greatest plz
Mary anticipates coming into contact with the blood and body fluids of a patient. To protect herself and others from potential infectious diseases, she must wea
which of the following is an example of a subordinate conjunction? A. i went to the store B. friendly C. because D. semicolons and commas only helpful answers,
Vocational education programs allow you to receive high school credit for working. Please select the best answer from the choices provided T F
Some plants use their own pollen to produce seeds. True False
Daughter of invention