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 object is 100 mililiter
Which of the following fractions is not in simplest form? A.3/4 B.7/10 C.9/12 D.4/15
because a square is a kite, it must have
The Great Pyramid of Giza was constructed as a regular pyramid with a square base. It was built with an approximate volume of 2592276 cubic meters and a height
The figure below shows triangle STU and some of its transformed images on a coordinate gird which of the four triangles was formed by a translation of triangle
For each sentence below, use the drop-down menu to select a symbol that correctly indicates the relationship. Three is less than a number. 3 < x One more tha
Round the fraction to the nearest whole number. 5 2/7
Which powers were left to the king? What was important about the powers that remained with the king
which layer of the earth has the highest density and temperature
A lahar is a type of mudflow that occurs