Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

While Do while loops are similar to for loops but it can be easier (or sometimes the only way)
to determine how many times the loop should gowhile loops but the condition is evaluated at
then end of each loop and not the begining. So,even if the condition is false,
the instructions will still be evaluated once.

Example 1

Insert excerpt
PSJ:Do While Example 1PSJ:
Do While Example 1
nopaneltrue

...