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 answer to this
Xelga [282]
Lateral area of triangular prism = (a+b+c)h where a, b and c are the sides of the triangular base, h is the height.

LA= (a+b+c)h=
a=4
b=6
c=?
c=9
h=8

c=√6²+4²=√80 or approximately 9

you should get An Area= (4+6+√80)8

LA= 80+8√80


4 0
3 years ago
311 students went on a field trip. Six buses were
kow [346]

Answer:

50.6

Step-by-step explanation:

it says 7 students traveled by car so you need to take 7 from 311, then divide your answer (304) by 6, which is 50.6

5 0
3 years ago
Read 2 more answers
Question 1 options:
OLEGan [10]

Answer:

4000 m^{3}

Step-by-step explanation:

V = 1/3(Bh)  where B is the area of the base and h is the height of the pyramid

B = 20(20) = 400      h = 30

V = 1/3(400)(30) = 4000 m^{3}

5 0
3 years ago
Work out m and c for the line: 2 x + 3 y + 4 = 0
4vir4ik [10]

Answer:

18marrsm is waiting for your help.

Add your answer and earn points.

Answer

1

jimrgrant1

Genius

30.5K answers

219.5M people helped

Answer:

m = - , c = -

Step-by-step explanation:

The equation of a line in slope- intercept form is

y = mx + c ( m is the slope and c the y- intercept )

Given

2x + 3y + 4 = 0 ( subtract 2x + 4 from both sides )

3y = - 2x - 4 ( divide all terms by 3 )

y = - x - ← in slope- intercept form

with slope m = - and y- intercept c = -

8 0
2 years ago
Classify the following triangle
maks197457 [2]

Answer:

Isosceles and obtuse

Step-by-step explanation:

It is not a scalene triangle because it has two same lengths 41 degrees and 41 degrees.

<u>It is a </u>Isosceles triangle because two of the sides have the same lengths 41 degrees and 41 degrees

<u>It is an</u> obtuse triangle because it has on obtuse angle which is 98 and two acute angles that are 41 degrees

It is not an equilateral because not all of the sides are the same lengths

It is not a right triangle because there are 90 degree angles

It is not an acute triangle because not all the angles are acute angles

4 0
3 years ago
Read 2 more answers
Other questions:
  • A school teacher is worried that the concentration of dangerous, cancer-causing radon gas in her classroom is greater than the s
    5·1 answer
  • The area of the base of a rectangular prism is 18 cm2. The height of the prism is 9 1 2 cm. What is the volume of the prism? A)
    12·1 answer
  • The girls on the run is 3 miles long. jenna has run 3/5 of the race. how far has she run?
    14·2 answers
  • How many miles does the car travel in 1.5 hours
    14·2 answers
  • In a survey of 100 people, 39 preferred ketchup on their hot dogs. What percent did not
    15·2 answers
  • Sully and genesis purchase 2 matinee tickets. A matinee ticket cost $6.50, a drink cost $5.50 and a bag of popcorn cost $6.00. D
    13·1 answer
  • Use the triangles Name one pair of congruent angles.
    8·1 answer
  • What is the equation for the line that passes through the point (3,7) and has a slope of 2?
    7·1 answer
  • Does the relationship show a ratio or a rate?
    12·1 answer
  • May I please receive help? Please?
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!