Advertisement

Looping

Chapter
  • 16 Downloads
Part of the Macmillan Computer Science Series book series

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.

Unable to display preview. Download preview PDF.

Copyright information

© Roger Hutty 1980

Authors and Affiliations

  1. 1.School of Mathematics, Computing and StatisticsLeicester PolytechnicUK

Personalised recommendations