What kinds of circumstances would lead you to writing a function versus using a loop? please explain in simple terms

Answers

Answer 1

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


Related Questions

answer this now
and thanks

Answers

Answer:

the process of burning something

Answer:

Option D) the process of burning something

Explanation:

Combustion, or burning, is a high-temperature exothermic redox chemical reaction between a fuel and an oxidant, usually atmospheric oxygen, that produces oxidized, often gaseous products, in a mixture termed as smoke. 

If you would like to compare information on two different Web pages, you should _____.
scroll through the pages
the home page
use tabs
organize bookmarks

Answers

Answer:

Use Tabs

Explanation:

I had this lesson on odyessy ware and this was right the other guy is wrong

Answer:

Use Tabs is also correct on Edge nuity

Explanation:

i have Keyboarding and Apps

Other Questions
After the homecoming football game, it was discovered that the winning team deflated the ball during their time on offense, so they could more easily win the game. Mark was assigned to write an article on this alleged scandal. Marks brother, however, was the quarterback for the team in question. Since he didnt want his brother to get in trouble, he stated in the article These allegations are completely unfair, and the team in question would never cheat as they are all honest people. As it turns out, the team did cheat and did deflate the ball as they were accused of. Which of the following ethics did Mark break writing this article?safetyobjectivityfairnesspursuance - During a certain period, the angular position of a rotating object is given by: = + , where is in radian and t is in seconds. Determine the angular position, angular speed, and angular acceleration of the rotating object at = Sec. please fast tell me The linear combination method gives a solution of (4, 2) for which of these systems of linear equations? 3 x + 13 y = 14. And 6 x + 11 y = -2. 4 x + 5 y = 12. And 8 x + 3 y = -4. 5 x + 4 y = 12. And 7 x + 8 y = 12. 10 x + 3 y = 8. And 17 x + 6 y = 10. Solve the equation. 4(x + 5) - 4 = 4 Shows a car travelling around a bend in the road. The car is travelling at a constant speed. There is a resultant force acting on the car. This resultant force is called the centripetal force. (i) In which direction, A, B, C or D, does the centripetal force act on the car? Tick ( ) one box. A B C D (1) (ii) State the name of the force that provides the centripetal force. Lourdes recorded in this table the change in her dog's weight, in ounces, each month. Which statement can be suppor by the data in the table? Change in Dog's Weight January February March April May +6 +4 -2 +1 -5 A) Lourdes dog gained weight in more months than it lost weight because there are more positive numbers than ne numbers. B) Lourdes' dog lost weight in more months that it gained weight because the digit 5 is the greatest digit and it is a ne number.C) Lourdes dog gained weight every month because it is getting older. D) Lourdes dog lost weight every month because the change in May is a negative number. Write a story that ends with the following lines...........Nevertheless, it was my best experience.[Points to remember while writing a story. (a) Word limit 150-200words. (b)There should be a beginning, character introduction,Plot, conclusion and moral for the story.] How do heredity and environment work together in intellectual development 5) Which word BEST describes the author's feelings about Iceland?A)alarmedB)disappointed).fascinatedD) reassured The situation that allows the broker to appoint one or more agents for the client within the same firm, is called Physical values in the real world have two components: magnitude and What can we NOT learn from the fossils found in rock strata?A. when a species became extinctB. the exact age of each individual fossilC. the diversity of organisms at a certain location or during a certain time periodD. how a type of organism has changed over time Which of the following were a part of Woodrow Wilsons New Freedom platform?Select the two correct answers. abanking reform bhigher tariffs can end to capitalism dless government involvement in social reform estronger antitrust legislation answer this now and thanks A tank is being filled up with water. At t=0, we know that the tank holds 150 gallons ofwater, and after one hour ( t=1) , it holds 180 gallon of water. Napoleons French empire was the greatest empire since the ... empire Is it the British Empire?Or the Roman Empire ? thanks ! learning about the holocaust Number 1-4 plsssss Silicon Valley in the San Francisco Bay Area is often called the tech center of the world. The region gets its name from the silicon used in computer chips that were widely manufactured there. Today, this region houses many of the largest computer hardware, software, internet, and digital communication companies in the world. Identify and explain two ways in which an earthquake in this area could affect people in other parts of the world. how does gawain show loyalty to the king in sir gawain and the green knight??