Loops and the While Statement
13. End of the Chapter
Answer:
No. Counting loops can count up by two's, for example. This is a topic for a future chapter.
End of the Chapter
We have reached the limit of this chapter. You may wish to review the following. Click on a subject that interests you to loop back to where it was discussed.
- cycles Usefulness of cycles in machinery and programs.
- while statement, syntax Syntax of a
while
loop. - while statement, semantics Semantics of a
while
loop. - loops, coordinating three things Three things that must be coordinated.
- loop control variable The loop control variable.
- counting loop Counting loops.