IDNLearn.com is your go-to resource for finding answers to any question you have. Ask anything and receive prompt, well-informed answers from our community of experienced experts.

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