Westonci.ca is the premier destination for reliable answers to your questions, provided by a community of experts. Explore comprehensive solutions to your questions from a wide range of professionals on our user-friendly platform. Get precise and detailed answers to your questions from a knowledgeable community of experts on our Q&A 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