second program
This commit is contained in:
parent
8e67760924
commit
71213662cf
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1,3 @@
|
||||
shortProgram
|
||||
program1
|
||||
|
||||
|
12
program1.cob
Normal file
12
program1.cob
Normal file
@ -0,0 +1,12 @@
|
||||
000010 IDENTIFICATION DIVISION.
|
||||
000020 PROGRAM-ID. Program1.
|
||||
000030 AUTHOR. Wolfgang Hottgenroth.
|
||||
000040 DATA DIVISION.
|
||||
000050 WORKING-STORAGE SECTION.
|
||||
000060 01 IterNum PIC 9 VALUE 5.
|
||||
000070 PROCEDURE DIVISION.
|
||||
000080 BeginProgram.
|
||||
000090 PERFORM DisplayGreeting IterNum TIMES.
|
||||
000100 STOP RUN.
|
||||
000110 DisplayGreeting.
|
||||
000120 DISPLAY "Greetings from COBOL".
|
Loading…
x
Reference in New Issue
Block a user