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

Sulfanilamides interfere with __________. hints sulfanilamides interfere with __________. protein synthesis in fungi protein synthesis in helminths folic acid s
Which is an example of the difference between a responsibility and a duty of a us citizen who is an 18 year old male ?
find the distance formula of a(0,-6),b(14,0)
Which research question would LIKELY fit the comparison and contrast organizational method? A) What is the Emancipation Proclamation? B) How many American docum
Write the rational number as a decimal 7 over 40
Quiero trabajar como para cuidar y ensenar a ninos pequenos.
Please help with this, thank you
Jackson deposited $5000 at 3.8% interest compound continuously when he was 18 years old. How much will be in the account when he is 40 years old if he made no o
PLZ HELP I NEED THE ANSWER ASAP!! Thanks~
Besides giving young men a job, what was one of the primary purposes of the Civilian Conservation Corps? A. to limit population growth B. to help young coupl