Chapter 28 Flowcharts with Loop Control Structures

28.1 Introduction

By working through the previous chapters, you have become familiar with all the loop control structures. Since flowcharts are an ideal way to learn “Algorithmic Thinking” and to help you better understand specific control structures, this chapter will teach you how to convert a Visual Basic program to a flowchart as well as how to convert a flowchart to a Visual Basic program.

28.2 Converting Visual Basic Programs to Flowcharts

To convert a Visual Basic program to a flowchart, you need to recall all loop control structures and their corresponding flowcharts. Following you will find them all summarized.

The Pre-Test Loop Structure

Do While Boolean_Expression
A statement or block ...

Get Visual Basic and Algorithmic Thinking for the Complete Beginner now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.