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

Why do you always have to cut your hair fingernails and grass ??
Linear Function graph. express in slipe intercept form
What is the sine value of pi over 6?
the correct frequency of exercise in order for it to be effective is
Which quote is most likely from the opening paragraph of Susan B. Anthony's speech?
1. Identify the number of independent and subordinate clauses in the following group of words. Early bicycles had one very large wheel and one very small wheel
This reaction releases ____________ from the acrosome of the sperm cell, which then digest a path through the granulosa cells and the ____________ .
What country controlled the “spice islands”?
What problem occurred during the presidential election of 1800?
Which of the following information sources was not directly affected by the Telecommunications Act of 1996? A. Cable television B. Newspaper publishing