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

what is the median of 10 36 6 23 30 4 12 22 19 21 39 5
The quotient of an unknown number and -13 is -14
How can you tell were an ocean begins and ends?
What are two examples of information displayed in the name manager
at a basketball game, 6 adults pay $20 each and 4 children pay $10 each. What is the total cost for the adult tickets?​
Please, Answer Thank you!
The simple tense is _________. something that continues to happen something that will happen something that could happen something that should happen
Plz..... Solve this questions for me...
Suppose a railroad rail is 5 kilometers and it expands on a hot day by 12 centimeters in length. Approximately how many meters would the center of the rail rise
plz help not very good @ math