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

pls help im bad at math i need help as soon as i can can get it
In "To a Poor Old Woman," how does the image of ripe plums "seeming to fill the air" affect the poem? Question 2 options: It helps stress the idea that the woma
Americans' fear of communism following World War II led to ________________________________.
I need help with this question? It’s confusing to me, I don’t know what to put .
What information is not included in a credit report? A. Credit balances B. Race or ethnicity C. Employment history D. Open and closed credit accounts
anwser this. you get 100 points! hurry
A dominant allele is found in a population with a frequency of 0.8. As the environment begins to change, the dominant allele is not favored. Scientists find tha
Given that angle a = 72° and angle b = 37°, work out x. The diagram is not drawn accurately.
pls help i cant get this?? here is what it says. Which box and whisker plot correctly displays the information about the hours of study?
Line c has an equation of y = 4x + 9. Line dis parallel to line c and passes through (-4,-4). What is the equation of line d? Write the equation in slope-interc