*/
Looking for work? Check out our jobs area.
*/

View \REPEATLP.PAS

This is the second disk of the PASCAL TUTOR system. It has the

Submitted By: WEBMASTER
Rating: (Not rated) (Rate It)


(* Chapter 4 - Program 6 *)
program Repeat_Loop_Example;

var Count : integer;

begin
   Count := 4;
   repeat
      Write('This is in the ');
      Write('repeat loop, and ');
      Write('the index is',Count:4);
      Writeln;
      Count := Count + 2;
   until Count = 20;
   Writeln(' We have completed the loop ');
end.

corner
© 1996-2008 CommunityHeaven LLC. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
North American business development: Nicolai Wadstrom. Publisher: Lars Hagelin.