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
What is the y intercept of the line whose equation is y=1/2x-3
Burka [1]

Answer:

-3

Step-by-step explanation:

y=1/2x-3

y=mx+b where m=slope and b=y-intercept

b=-3

7 0
3 years ago
nolan uses 7 inches of string to make each bracelet. if nolan makes 3 bracelets, how many inches of string will he use?
pantera1 [17]

Answer:

21 inches

Step-by-step explanation:

We can write a ratio to solve

7 inches        x inches

-------------  = -------------------

1 bracelet      3 bracelets

Using cross products

7*3 = 1x

21 = x

21 inches

6 0
3 years ago
Read 2 more answers
Please answer this correct answer now fast
lutik1710 [3]

Answer:

WX = 8 mm

Step-by-step explanation:

To be able to solve for WX, we need to first find the size of angle \angle z.

We use the law of sines in the blue triangle to do such:

\frac{sin(z)}{11} =\frac{sin(133)}{20} \\sin(z)=\frac{11\,sin(133)}{20} \\sin(z)=0.4022

Now we can use this value in the larger right angle triangle where WX is the opposite side to angle  \angle z, and the 20 mm side is the hypotenuse:

sin(z)=\frac{opposite}{hypotenuse} \\sin(z)=\frac{WX}{20}\\0.4022=\frac{WX}{20}\\WX=20\,(0.4022)\\WX=8.044\,\,mm

which rounded to the nearest integer gives

WX = 8 mm

3 0
3 years ago
PLEASE NEED HELP NOW WILL GIVE BRAINLIEST<br> What is the value of B?
Tresset [83]
So all the angles of triangle add up to 180 degrees. So you add up the the two other sides and subtract 180 by the answer.

61 + 58 = 119

180 - 119 = 61

So, you’re answer would be 61 degrees. Hope that helped :)

8 0
3 years ago
Whwat is 2 pwus 1 pweass hellpe itz vary hard
hichkok12 [17]

Answer: 3

Step-by-step explanation: 2+1=3

8 0
3 years ago
Read 2 more answers
Other questions:
  • Please help me on this!!! :D
    13·1 answer
  • -1 ≤ n+2 ≤ 6
    7·1 answer
  • Can u help me with this problem thx
    15·1 answer
  • How would solve <br>2y+6x=0
    10·1 answer
  • In how many ways can a 12-question true-false exam be answered? (Assume that no questions are omitted.)
    5·1 answer
  • Graph the function. Please include the graph thank you.
    15·1 answer
  • A parallelogram has a length of 15cm and a height of 7.5cm. Calculate it’s area.
    12·2 answers
  • Need help ? I can help you with your questions !
    7·1 answer
  • I’m really struggling here :,D
    8·1 answer
  • Drag the tiles to the correct boxes to complete the pairs. Not all tiles will be used.
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!