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

BRAINLIESTTT ASAPP! 1. Scientists have developed a new drug known to cure a previously incurable disease. What best explains if the new drug is a compound or n
Why do you think it is vital for Napoleon to engage in a battle and win?
Which graph best represents the solution to the following pair of equations? y = 2x − 17 y = −2x + 3
What is the primary goal of having children attend preschool in japan and most of europe?
Which of these correctly describes how organic catalysts operate in biological reactions?
Psychologists regard _______________ as the "fear of fear."
What is prosopagnosia? what part of the cortex when damaged by a stroke gives rise to prosopagnosia?
Jonas and Claire each tried to ride a unicycle. Jonas was able to stay on for 3/32 of a mile, while Claire was able to ride for 5/8 of a mile. How much farther
What are the solutions of the equation x2+4×4=25
the quotient of 15 and the product of 2 times x