1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
nadya68 [22]
2 years ago
13

What are the benefits of creating and using functions in your code?.

Mathematics
1 answer:
ch4aika [34]2 years ago
4 0
It is critical to remember that creating functions while coding is a vital component of coding. There are various benefits to doing so.
A few of the advantages include the following:

The function can be called from anywhere in the code and made to perform exactly what it was written for the first time if it is called from a different line of code.

2. Writing functions reduces redundancy by allowing for fewer lines of code to be written in total. It eliminates the need to rewrite numerous lines of code over and over again. After the initial line of code has been set, we can call the method from another location.

3. It increases the efficiency of coding.

4. It makes it easier for others to comprehend the fundamentals involved in a coding structure, which is an advantage.
You might be interested in
Lauren is planning a field trip. She has 79 students and 12 chaperones attending. Each bus can hold 32 people. How many busses w
zaharov [31]
I would think 3? it should be 3 because 32*2=64 which isn’t everyone 32*3 is 96
79+12=91
6 0
3 years ago
Read 2 more answers
The Cupcake Factory makes the pattern shown to the right using candy hearts on its Friday Special cupcake. Write an equation usi
ozzi
Nice...........have fun dude
7 0
2 years ago
What is the slope of the diagonal line on the larger triangle? Explain how you found it.
Stolb23 [73]

Answer: 2/3 is the slope I think and for the same slope thing here is my answer:

We can use similarly of triangles in this case there will be a formation of 2 pairs equal ( angles formed by the y-axis on the parallel lines) angles between triangles formed as the y-axis lines are parallel. So,the slope is the same for both.

5 0
2 years ago
427+364 find the sum
prisoha [69]
The answer is 791......
8 0
3 years ago
Read 2 more answers
What's the hight of a million pennies
TiliK225 [7]

The thickness of a brand new US penny that hasn't been
worn down is 1.52 millimeters.

If you have a million pennies, there are many ways to arrange them.
You can pile them all in one pile, or shovel them into many piles, or
stack them up in any number of stacks up to a half-million stacks
with two pennies in each stack, or try somehow to stack them all up
in one stack that's a million thicknesses high.

Any stack with 'n' pennies in the stack is  1.52n millimeters high.

If you somehow succeed in stacking all million of them in one stack,
then the height of that stack would be . . .

       (1,000,000) x (1.52 mm) =  1,520,000 millimeters
                                                         152,000 centimeters
                                                             1,520 meters
                                                               1.52 kilometers

                                            (about 59,842.5 inches
                                                          4,986.9 feet
                                                         1,662.3 yards
                                                               7.56 furlongs
                                                            0.944 mile
                                                                  all rounded)

3 0
3 years ago
Other questions:
  • How do I write 7 23/40 as a decimal
    5·1 answer
  • Reginald answered 78% if the question correctly.what fractional part did he not answer correctly
    8·1 answer
  • You can solve equations using____________, which undo each other.
    6·2 answers
  • How many 1/3 cup servings of juice are in a 5 cup container
    8·1 answer
  • You are driving due north on the highway. Ahead, but off to the East, you see a tall tower. Sketch a graph or make a table showi
    6·1 answer
  • A punch recipe that serves 24 people calls for 4 liters of lemon soda, 2 pints of sherbert, and 6 cups of ice. How much of each
    9·1 answer
  • If 75% of a class answered the 1st question on a certain test correctly, 55% answered the 2nd question on the test correctly and
    11·1 answer
  • What is the equation, in standard form, of a circle with center (−5, −9) and radius 7?
    14·1 answer
  • <img src="https://tex.z-dn.net/?f=The%20%5C%3A%20%20value%20%20%5C%3A%20of%20%20%5C%3A%20%20%5Csqrt%7B6%20%2B%20%20%5Csqrt%7B6%2
    10·1 answer
  • The water pumped out of a backyard pond. What is the domain of this graph?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!