O'Reilly logo

Visual C#® 2012: How to Program, Fifth Edition by Harvey Deitel, Paul Deitel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Self-Review Exercises

6.1 Fill in the blanks in each of the following statements:

a) Typically, _______ statements are used for counter-controlled repetition and statements are used for sentinel-controlled repetition.

b) The do...while statement tests the loop-continuation condition _______ executing the loop’s body; therefore, the body always executes at least once.

c) The _______ statement selects among multiple actions based on the possible values of an integer variable or expression.

d) The _______ statement, when executed in a repetition statement, skips the remaining statements in the loop body and proceeds with the next iteration of the loop.

e) The _______ operator can be used to ensure that two conditions are both true before choosing ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required