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

No credit card required

5. Problem Solving and Control Statements: Part 2

Who can control his fate?

—William Shakespeare

The used key is always bright.

—Benjamin Franklin

Not everything that can be counted counts, and not every thing that counts can be counted.

—Albert Einstein

Objectives

In this chapter you’ll learn:

• Problem solving with additional control statement building blocks.

• The essentials of counter-controlled repetition.

• To use the `For`...`Next`, `Do`...`Loop While` and `Do`...`Loop Until` repetition statements.

• To perform multiple selection using the `Select`...`Case` selection statement.

• To use the `Exit` statement to break out of a repetition statement.

• To use the `Continue` statement to terminate the current iteration of a loop and proceed with the next iteration. ...

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

No credit card required