New course! Every coder should learn Generative AI!
Try a free lesson+ 1
What does +=, -= mean???
what does +=, -= mean???
2 Answers
+ 8
x = 7; // Set x to 7
x += 5; // x = x+5; adding 5 to 7 making x equal 12
x -= 8; // x = x-8; subtracting 8 from 12 making x equal 4
+ 1
thanks