Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 19 Online
OpenStudy (anonymous):

what does the operator "+=" do?

OpenStudy (anonymous):

x += 1 same as x = x + 1

OpenStudy (anonymous):

It increments the variable on the left side by the result of the expression on the right side.

OpenStudy (anonymous):

He explains it near the end of lecture 3, around 49:00

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!