Abstract
The previous chapter described a very simple program structure: Values were calculated and printed using some variables and constants. Finally the program was terminated. The advantages of a computer can, however, first be exploited when, in the course of the program, branching can be carried out depending on the values determined. Thus, certain program segments can be repeated a number of times. Fortran provides language elements for this purpose which will now be illustrated and explained by means of the following example.
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
© 1986 Friedr. Vieweg & Sohn Verlagsgesellschaft mbH, Braunschweig
About this chapter
Cite this chapter
Lamprecht, G. (1986). Loop Control, Logical Items. In: Introduction to FORTRAN 77. Vieweg+Teubner Verlag. https://doi.org/10.1007/978-3-322-89421-2_4
Download citation
DOI: https://doi.org/10.1007/978-3-322-89421-2_4
Publisher Name: Vieweg+Teubner Verlag
Print ISBN: 978-3-528-03360-6
Online ISBN: 978-3-322-89421-2
eBook Packages: Springer Book Archive