Skip to content

Commit

Permalink
add Cobol/ercusz.cob (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
ercusz authored Oct 1, 2022
1 parent d5a6c36 commit 12501bc
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Cobol/ercusz.cob
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
IDENTIFICATION DIVISION.
PROGRAM-ID. COFFEE-TO-CODE.
AUTHOR ERCUSZ.

ENVIRONMENT DIVISION.

DATA DIVISION.
WORKING-STORAGE SECTION.
01 WS-DATA PIC X(6) VALUE "Coffee".

PROCEDURE DIVISION.
INSPECT WS-DATA REPLACING ALL "ff" BY "de"
"ee" BY SPACES.
DISPLAY WS-DATA.
STOP RUN.

0 comments on commit 12501bc

Please sign in to comment.