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

a road rises 16 feet for every 50 feet of horizontal distance covered. in percent what is the grade of the road?
The levels of carbon dioxide in the atmosphere a. began decreasing when the burning of fossil fuels increased. b. are estimated to be higher than at any time in
what is census why is census taken​
A car is traveling 40 kilometers per hour. What is the speed of that car in meters per second?
In which sentence is the word my used as an INTERJECTION? A. -My-. letter to the editor was published today. B. I expressed -my- ideas about the new freeway C.
In the circle below, if arc AB = 48°, and arc CD = 122°, find the measure of < CPD. Select one: a. 170° b. 122 C. 85 ° d. 48
many people traveled to New mexico after ww1 to seek treatment at sanitarium for...?tuberculosiscancersmallpoxor polio​
i will mark brainliest!!! Other answers: C. y=25x D. y=25x+8.34
Make a list of any 3 function of state government each in federal system in Nepal .​
please help! need answers in order to move on:) 1.) which number equals (5)^-3? - -125 - 1/15 - 1/125 - -15 2.) find the equivalent for -(3)^-4 - -(4x4x4) - -3x