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

how would you write this as an algebraic equation? k less than 24
Analiza morfologic pronumele inchizindu-i
Earth's atmosphere exerts a force of 124,500 N on a kitchen table with an area of 1.5 m squared. What is the pressure in pascals?
The New Jersey plan called for?
how are a mold and a cast related?
Write an expression that can be used to find the total cost of 2 pounds of peanuts,3 pounds of cashews and 1 pound of almonds, all for 20% off. Peanuts.....$3.9
The Safe Drinking Water Act limits the amount of pollution introduced into waterways. true or false
what plus what equals 55
Protections against arbitrary acts of the government are technically known as ____. a. civil liberties b. shield laws c. amendments d. slander laws
briefly described the function of the cell parts lysosme