November 2019
Beginner
228 pages
2h 45m
English

The while loop
The state may be updated within the “Do something” process.
Question: What will happen if the state is never changed?
Answer: it will be an “infinite loop,” meaning the program will run forever until it crashes or is terminated by the user.
You may have noticed the // next to the <do something> line. This identifies ...
Read now
Unlock full access