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

A large box of crayons holds 60crayons.There 10 crayons in each row how many rows are there ? What's the situation and the equation?
what is 3a + 1 = -3.6(a - 1)
Write an equation yo model each situation then solve ! A stack of 12 bricks is 27 in. High. What is the height of each brick
What is 1/3 of 9 if u know please tell me thanks
22/100 in simplest form?
Use the diagram above to determine which group of side lengths would form a right triangle. 20, 21, 29 12, 35
How many Jews did Adolf Hitler killed
What is 1/3 of 9 if u know please tell me thanks
if a set of numbers that both include both rational and irrational number is graphed on a number line what is the fewest number of distinct points that need to
Estimate the total weight of two boxes that weigh 9.4 and 62.6 pounds using rounding and compatible numbers. which estimate is closer to the actual total weight