Logo

Programming-Idioms

History of Idiom 2 > diff from v96 to v97

Edit summary for version 97 by Roie8:
New Cobol implementation by user [Roie8]

Version 96

2019-09-27, 19:09:57

Version 97

2019-09-27, 20:04:38

Idiom #2 Print Hello 10 times

Loop to execute some code a constant number of times

Illustration

Idiom #2 Print Hello 10 times

Loop to execute some code a constant number of times

Illustration
Code
IDENTIFICATION DIVISION.
PROGRAM-ID. hello 10 times.
PROCEDURE DIVISION.
PERFORM 10 TIMES
   DISPLAY "Hello"
END-PERFORM
STOP RUN.