Chapter 21 More about Flowcharts with Decision Control Structures
21.1 Introduction
By working through the previous chapters, you've become familiar with all the decision control structures. Since flowcharts are an ideal way to learn “Algorithmic Thinking” and to help you better understand specific control structures, this chapter is dedicated to teaching you how to convert a C# program to a flowchart, or a flowchart to a C# program.
21.2 Converting C# Programs to Flowcharts
To convert a C# program to its corresponding flowchart, you need to recall all the decision control structures and their corresponding flowchart fragments. They are all summarized here.
The single-alternative decision structure
The dual-alternative decision structure
Get C# 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.