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

y varies inversely with x y = 132 when x = 6 What is the value of k, the constant of inverse variation? A. k = 22 B. k = 138 C. k = 396 D. k = 792
Suppose the market for the magazine is in equilibrium. Some students insist on raising the cover price by$1 and printing the same quantity. What is likely to ha
The average electricity bill for Lynn’s home is $64.50 per month with a standard deviation of $8.20. In June she received a bill of only $30.00 because she was
how do I find the missing side lengths?
Jacob lives in an apartment. He has to tie an 85-meter long rope at the distance of 90 meter from the building to its roof. What is the height of the building?
“¿Qué tiempo hace en Alaska en enero?” Your response is?
.Which of the following elements is an essential aspect of realist literature?
Which of the following is the oldest Mesoamerican civilization ?
add 40% to 36.73.......................................
Lisa drew a picture of a boat. she use the scale 1inch:6 feet. the boat in her picture is 7 inches long. what I'd the length, in feet, of the actual boat?