Lesson 6: while & do-while loops
Conditions gave us choice; loops give us repetition. while (condition) { ... } checks the condition before each round and runs the body again and again while it is true. For that you need a counter (like int i) that advances with i++ — otherwise the condition never turns off and the loop runs foreve