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

The diameter of a circle is 8 feet. What is the angle measure of an arc a feet long?Give the exact answer in simplest form. 20 points​
Help me please I really need it please help me
What might be some ways minority groups other than African-Americans felt empowered by the civil rights movement?
How to evaluate (-2÷7)^2? Answer must be a fraction!! ​
Ashley began her banking career as a teller, but she was quickly promoted to increasingly more responsible managerial positions. Despite the fact that she has v
There are blank legs for every 4 ears. There are blank legs for every 1 ear
Lois is painting a mural on the side of a building. The side of the building is 14 feet by 9 feet. Lois got a deal on paint cans that each cover 5 square feet.
Huh? this says what?
List some changes that humans are responsible for that can cause an area of Earth to change (and therefore cause the satellite images to change over time).
HELP ASAP PLEASE IN SPANISH BUT ITS FINDING AREA