What are the three steps that should occur in every loop?
What will be an ideal response?
1. The loop control variable is initialized before entering the loop.
2. The loop control variable is tested, and, if the result is true, the loop body is entered.
3. The loop control variable is altered within the body of the loop so that the while
expression eventually evaluates as false.
Computer Science & Information Technology
You might also like to view...
Which of the following is not included when you use a cell style?
A) Cell protection B) Borders C) Alignment D) Font
Computer Science & Information Technology
A protocol is a set of HTML/XHTML codes that define how a browser displays a Web page
Indicate whether the statement is true or false
Computer Science & Information Technology