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

Your credit limit is $1,000. What is the max you should ever owe on this card? = $
4x what = 364 please put the calculation
I need instant help if you could give me two random photos of civics notebook notes I will give you so many points need serious help
When a die is rolled, what is the theoretical probability that number five will be rolled? ​
NEED HELP ASAP! WILL GIVE BRAINLIEST TO GOOD ANSWERFor business paper 2, what do I need to revise and can anyone give me tips?
Your english teacher is planning to organise a spelling bee competition in your school write a letter of permission to the principal of your school and state 2
Discuss the ways to divide up the nervous system noting what helps regulate what functions
What is the equilibrium constant of a reaction? A. It is the concentrations of products multiplied by the concentrations of reactants. о B. It is the number of
Product of square of x and cube of y​
Hi can anyone say me a speech on save trees save earth