Chapter 4 Using flowcharts

Control-flow diagrams can be used to plan and represent the structure of programs. The main elements program-flowcharts are:

  • A processing step, represented by the rectangular box;
  • A decision step, usually denoted by a diamond;
  • The start and end steps, denoted by rounded-edge rectangles;
  • Arrows indicating the direction and each step;
  • Labels naming elements of the flowchart.