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 carbon rod in a standard d-cell serves as
In a survey, a group of students were asked their favorite sport. Eighteen students chose “other” sports.
describe the human body response at the cellular level to perceived starvation threats as one person is dieting or ill. Tell why this was needed in human beings
The probabilities of the top selling menu item in four town's restaurants being different types of vegetarian and non-vegetarian sandwiches are given in the tab
Is it possible for the incenter of a triangle to be outside the triangle?
1.613×10 square \ math
Bonnie created a table to show the total she has saved at the end of each week.. Weeks 0 1 2 3 4 5 6 7 8 Amount saved 12 16 20 24 28 32 36 40 44 Bobby came
What did the French do that outraged Americans in 1798? How did Kentucky and Virginia Resolutions support the rights of states?
What should the certified volunteer preparer do before starting the tax return?
This is so hard help me