180k views
4 votes
E while loop has two important parts: an expression that is tested for a true or false value, and:

User Chand
by
7.9k points

1 Answer

3 votes
Hi!

The second part of a while loop is that is has a block of code (or a statement) which will be executed as long as the boolean expression is true.

Hopefully, this helps! =)
User RadekJ
by
7.9k points