OpenStax CNX

You are here: Home » Content » Branching Control Structures

About: Branching Control Structures

Module by: Kenneth Leroy Busbee. E-mail the author

View the content: Branching Control Structures


Name: Branching Control Structures
ID: m19947
Language: English (en)
Summary: An introduction to the common types of branching control structures and which ones are allowed in good structured programming.
Subject: Science and Technology
License: Creative Commons Attribution License CC-BY 3.0

Authors: Kenneth Leroy Busbee (
Copyright Holders: Kenneth Leroy Busbee (
Maintainers: Kenneth Leroy Busbee (

Latest version: 1.4 (history)
First publication date: Mar 7, 2009 8:21 am -0600
Last revision to module: Oct 23, 2012 10:03 am -0500


PDF: m19947_1.4.pdf PDF file, for viewing content offline and printing. Learn more.
XML: m19947_1.4.cnxml XML that defines the structure and contents of the module, minus any included media files. Can be reimported in the editing interface. Learn more.

Version History

Version: 1.4 Oct 23, 2012 10:03 am -0500 by Kenneth Leroy Busbee
Updated the discussion paragraph.

Version: 1.3 Jan 15, 2010 3:54 pm -0600 by Kenneth Leroy Busbee
Added Google Analytics.

Version: 1.2 Apr 29, 2009 6:05 pm -0500 by Kenneth Leroy Busbee
Repair for printing.

Version: 1.1 Mar 7, 2009 8:33 am -0600 by Kenneth Leroy Busbee
Initial Module.

How to Reuse and Attribute This Content

If you derive a copy of this content using a OpenStax-CNX account and publish your version, proper attribution of the original work will be automatically done for you.

If you reuse this work elsewhere, in order to comply with the attribution requirements of the license (CC-BY 3.0), you must include

  • the authors' names: Kenneth Busbee
  • the title of the work: Branching Control Structures
  • the OpenStax-CNX URL where the work can be found:

See the citation section below for examples you can copy.

How to Cite and Attribute This Content

The following citation styles comply with the attribution requirements for the license (CC-BY 3.0) of this work:

American Chemical Society (ACS) Style Guide:

Busbee, K. Branching Control Structures, OpenStax-CNX Web site., Oct 23, 2012.

American Medical Assocation (AMA) Manual of Style:

Busbee K. Branching Control Structures [OpenStax-CNX Web site]. October 23, 2012. Available at:

American Psychological Assocation (APA) Publication Manual:

Busbee, K. (2012, October 23). Branching Control Structures. Retrieved from the OpenStax-CNX Web site:

Chicago Manual of Style (Bibliography):

Busbee, Kenneth. "Branching Control Structures." OpenStax-CNX. October 23, 2012.

Chicago Manual of Style (Note):

Kenneth Busbee, "Branching Control Structures," OpenStax-CNX, October 23, 2012,

Chicago Manual of Style (Reference, in Author-Date style):

Busbee, K. 2012. Branching Control Structures. OpenStax-CNX, October 23, 2012.

Modern Languages Association (MLA) Style Manual:

Busbee, Kenneth. Branching Control Structures. OpenStax-CNX. 23 Oct. 2012 <>.