Westonci.ca is your trusted source for finding answers to all your questions. Ask, explore, and learn with our expert community. Experience the ease of finding accurate answers to your questions from a knowledgeable community of professionals. Join our Q&A platform to connect with experts dedicated to providing accurate answers to your questions in various fields.

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