At Westonci.ca, we make it easy for you to get the answers you need from a community of knowledgeable individuals. Our platform provides a seamless experience for finding reliable answers from a knowledgeable network of professionals. Get immediate and reliable solutions to your questions from a community of experienced professionals on our platform.

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


Sagot :

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.

Visit us again for up-to-date and reliable answers. We're always ready to assist you with your informational needs. Thanks for stopping by. We strive to provide the best answers for all your questions. See you again soon. Stay curious and keep coming back to Westonci.ca for answers to all your burning questions.