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

What is a series of events that cells go through as they grow and divide
A number cube is rolled 24 times and lands on 2 four times and on 6 three time. Find the experimental probability of not landing on a 6
State two ways in which a single-celled organism, such as amoeba, and a human body are alike?
Simplify (7-5i)(-3+9i)-(5+6i)^2
Graph the line using intercepts: 4x-3y=12
The gases in the air attracted to earth by gravity form layers called the ____
What is a series of events that cells go through as they grow and divide
how is the expression of sex linked genes both  similar to and different from the expression of autosomal genes?
how is the expression of sex linked genes both  similar to and different from the expression of autosomal genes?
Newtons third law of motion is also known as the law of ?