Please enable JavaScript to use CodeHS

Chapter 3

Looping

3.1 While Loops

While Loops

Guess My Number

Program Tracing

Program Tracing, Part 2

Check Your Understanding

  1. Incorrect Correct No Answer was selected Invalid Answer

Exercise: 1 Through 20 Odd

Vocabulary

Term Definition
While Loop Lets us repeat code as long as something is true.