OpenStax CNX

You are here: Home » Content » Compound Statement

About: Compound Statement

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

View the content: Compound Statement


Name: Compound Statement
ID: m19683
Language: English (en)
Summary: An explanation for the need of compound statements within some programming languages.
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: Feb 18, 2009 3:38 pm -0600
Last revision to module: Mar 5, 2012 6:25 am -0600


PDF: m19683_1.4.pdf PDF file, for viewing content offline and printing. Learn more.
XML: m19683_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 Mar 5, 2012 6:25 am -0600 by Kenneth Leroy Busbee
Minor typo corrections.

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

Version: 1.2 Apr 29, 2009 2:45 pm -0500 by Kenneth Leroy Busbee
Repaired for printing.

Version: 1.1 Feb 18, 2009 3:48 pm -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: Compound Statement
  • 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. Compound Statement, OpenStax-CNX Web site., Mar 5, 2012.

American Medical Assocation (AMA) Manual of Style:

Busbee K. Compound Statement [OpenStax-CNX Web site]. March 5, 2012. Available at:

American Psychological Assocation (APA) Publication Manual:

Busbee, K. (2012, March 5). Compound Statement. Retrieved from the OpenStax-CNX Web site:

Chicago Manual of Style (Bibliography):

Busbee, Kenneth. "Compound Statement." OpenStax-CNX. March 5, 2012.

Chicago Manual of Style (Note):

Kenneth Busbee, "Compound Statement," OpenStax-CNX, March 5, 2012,

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

Busbee, K. 2012. Compound Statement. OpenStax-CNX, March 5, 2012.

Modern Languages Association (MLA) Style Manual:

Busbee, Kenneth. Compound Statement. OpenStax-CNX. 5 Mar. 2012 <>.