Abstract
A loop is another fundamental idea in programming. It provides you with a way to repeat one or more statements as many times as your application requires. You can employ a loop to handle any repetitive task, and for most programs of any consequence, loops are essential. Using a computer to calculate the company payroll, for example, would not be practicable without a loop.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2004 Ivor Horton
About this chapter
Cite this chapter
Horton, I. (2004). Loops: Repeating One or More Statements. In: Ivor Horton’s Beginning ANSI C++: The Complete Language. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-0656-9_5
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0656-9_5
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-59059-227-4
Online ISBN: 978-1-4302-0656-9
eBook Packages: Springer Book Archive