Beginning C++ pp 105-149 | Cite as

Arrays and Loops

  • Ivor Horton
Chapter

Abstract

An array enables you to work with several data items of the same type using a single name, the array name. The need for this occurs often - working with a series of temperatures or the ages of a group of people for example. A loop is another fundamental programming facility. It provides a mechanism for repeating one or more statements as many times as your application requires. Loops are essential in the majority of programs. Using a computer to calculate the company payroll, for example, would not be practicable without a loop. There are several kinds of loop, each with their own particular area of application. In this chapter, you'll learn:

Keywords

Array Element Nest Loop Loop Iteration Array Size Loop Condition 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Ivor Horton 2014

Authors and Affiliations

  • Ivor Horton
    • 1
  1. 1.WAUnited Kingdom

Personalised recommendations