Abstract
We often want to repeat a group of statements several times. It would be very wasteful to have the statements coded, punched and stored many times. Hence all programming languages provide facilities for repeating, or looping, a group of statements — the FORTRAN language provides the DO statement and the CONTINUE statement. Program 3.1 uses these two statements to loop a group of statements three times.
Preview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Copyright information
© 1980 Roger Hutty
About this chapter
Cite this chapter
Hutty, R. (1980). Looping. In: Fortran for Students. Macmillan Computer Science Series. Palgrave, London. https://doi.org/10.1007/978-1-349-81445-9_3
Download citation
DOI: https://doi.org/10.1007/978-1-349-81445-9_3
Publisher Name: Palgrave, London
Print ISBN: 978-1-349-81447-3
Online ISBN: 978-1-349-81445-9
eBook Packages: Palgrave History CollectionHistory (R0)