vegasviman vegasviman
  • 02-04-2022
  • Computers and Technology
contestada

How could the following line of code be shortened?

average = average + 1

Group of answer choices:

1.average + a

2.average += 1

3.average = + 1

4.average = 1 + average

Respuesta :

markmeadows67
markmeadows67 markmeadows67
  • 02-04-2022

Answer:

2

Explanation:

The second option is the only one that will work. The last would work but doesn't make the code any shorter.

Answer Link

Otras preguntas

Which sentence best states the main idea of this passage from Roosevelt's Four Freedoms speech?
List the following integers from least to greatest. 546 -21 -746 3 764 -93
In the 2000 summer Olympics, the women’s 400-meter freestyle winner took 4 minutes 4 seconds to swim her race. The 200-meter freestyle winner took 1 minute 57 s
Select the relative adverb. It Her Who Why
If the circumference of a circle is 2 pie cm, what is the measure of it's radius? Write it..​
I need good explanation this question.
Solve the system of equation using substitution
Only certain sports rely on a special set of muscles. A. True B. FalseI will report u if you put fake answer
which pronoun correctly completes the sentence when the direct object is replaced by a direct object pronoun. we saw younosotros______vimos A.meB.te C.nosD.se(c
when was Bulgaria declared a country?