0 votes
265 views
In 10-12 by Doctor (8.6k)  

1 lesson

0 votes
by Doctor (8.6k)  
x += 3 means that the value of x is increased with 3. So if x was 4 previously, then it is 4+3, i.e 7 now.
It is a shorter form than writing x = x+3

Many coding languages have = is used to set a value to a variable. But == is used for a comparison, e.g. in
if(x == 3){ do something }


TEST PREP OR SPEED LEARN

AI powered, structured, top voted content for the 10 most important Skills in your curriculum subjects.

OWN ONE NEW SKILL A DAY
Unlock new knowledge and get badges, delivered right to your inbox. Get started

NEW LANGUAGE IN A WEEK
Meet Learn Asleep, our AI-powered, adaptive audio learning system that makes mastering new languages a breeze.

GET THE BIG PICTURE
Get the poster of the most important skills. Order it for free here.

SkillsAndLessons web solution goes hand in hand with a physical poster that provides overview, structure and engagement.


DISCOUNT ALERT
The whole family in for the price of one! Schools enjoy special rates. Contacts us.

SkillsAndLessons, learn skills before a test, or get back on track. Fastest way to grow as a person.




SkillsAndLessons - Test prep or get back on track.

Palo Alto, San Francisco, USA
Finland - Sweden - Belgium - South Africa



           






...