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]
3 years ago
13

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

Mathematics
1 answer:
ch4aika [34]3 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
5/6 of the students completed homework last night, but only 3/4 of those students did their work correctly. How many students di
Kisachek [45]

Answer:


Step-by-step explanation:

first your going to do the least common multiple which is 12 for both then your going to subtract because were trying to find out how many students did there work correctly. so, whatever you do to the denominator you do to the numerator so, its going to be 10/12 - 9/12= 1/12 is your answer.

8 0
3 years ago
12(6x + 10) + x = 9x + 5(1 – x) can u solve this?
Andreas93 [3]

Answer:

-115/69

Step-by-step explanation:

12(6x + 10) + x = 9x + 5(1 - x)

72x + 120 + x = 9x + 5 - 5x

73x + 120 = 4x + 5

69x = 5 - 120

69x = -115

x = -115/69

4 0
2 years ago
If one person recruits five people and each recruited person recruits 5 more, and so on, 15 cycles; how many people would that b
jek_recluse [69]

Answer:

y=5^x

5^15= 30517578125 people

Step-by-step explanation:

x=# of cycles= 15 cycles

y= #of people recruited = what we're figuring out

Plug in 15 for x in the equation y=5^x

y= 5^15= 30517578125 people

3 0
3 years ago
Polygons similar? Justify your reasoning.(10 points each)
Liono4ka [1.6K]

Answer:

what vfvj u rdjmhgfx Uzumaki i

7 0
3 years ago
Read 2 more answers
Rationalize the denominator of square root of negative 9 over open parentheses 4 minus 7 i close parentheses minus open parenthe
Deffense [45]
A calculator shows
\dfrac{\sqrt{-9}}{(4-7i)-(6-6i)}=\dfrac{3i}{-2-i}=-3\cdot\dfrac{i(2-i)}{2^2+1^2}\\\\=\dfrac{-3-6i}{5}
8 0
3 years ago
Other questions:
  • Quotient of 296.16 ÷ 2.4
    9·1 answer
  • Zina solves a system of linear equations by elimination and finds a solution of (2, 2). One of the equations is a + b = 4. What
    11·2 answers
  • HELP PLEASE!!
    6·2 answers
  • Find the derivative with respect to x of the integral from 2 to x^3 of ln(x^2)dx
    11·1 answer
  • Plz help!! im working on systems of linear equations...
    12·1 answer
  • Can anyone help me?
    5·1 answer
  • Find the length of the arc. A. 187π/12 ft B. 16π/3 ft C. 49π/6 ft D. 343π/12 ft
    5·1 answer
  • X and y cordanates.....................
    7·2 answers
  • Find the difference (9/4+60-(-5/4x-24)
    9·1 answer
  • Is πxy=4 a linear equation?
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!