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

All the living things in the forest make up a
What is the length of the missing base of the trapezoid? 3 in 8 in Area= 21 in2
where is the setting of Beowulf​
A recipe calls for - cup of sugar to make 18 cookies. How many cookies can you make with 6 cups of sugar?
Convert 5.626 1 to cl.
write a story ending with the saying "it was a false alarm​
What scientific instrument allowed Antonie van Leeuwenhoek to discover bacteria? A.)microscope B.)glasses C.)magnifying glass D.)telescope
Will GIVE 200 Points!!! NEED HELP ASAP!!!! PLEASE HURRY AND HELP!!! For the given statement, write the converse, inverse, and contrapositive.If a figure is a cu
What is the purpose of employer provided benefits?
even though the British lost the battle at Fort Necessity why was it significant